# Bitiful Docs > 缤纷云(Bitiful)官方文档:S4 对象存储(兼容 S3)、CoreIX 图片与视频处理参数、证书中心、CDN、计费与价格、API 与 SDK、最佳实践。 For the Markdown of any page, append `.md` to its URL. Full content: https://docs.bitiful.com/llms-full.txt ## Products - [Introducing S4](https://docs.bitiful.com/en/bitiful-s4/intro.md): An introduction to Bitiful S4 object storage. - [S4 quickstart](https://docs.bitiful.com/en/bitiful-s4/handbook/quick-start.md): The complete flow from signing up and verifying your identity, creating a bucket, uploading and accessing files, to creating a sub-user, granting permissions, and connecting to Bitiful S4 with an SDK. - [Bucket management](https://docs.bitiful.com/en/bitiful-s4/handbook/buckets.md): Create, view, and delete buckets, and find the endpoint, region, and access domains of a bucket. - [Upload files](https://docs.bitiful.com/en/bitiful-s4/handbook/upload.md): Upload files and folders in the console, and learn about the task list, multipart and concurrency, Content-Type, size limits, and retries. - [Manage files](https://docs.bitiful.com/en/bitiful-s4/handbook/objects.md): Browse, search, preview, copy links to, download, move, rename, and delete files and folders in the console. - [Usage statistics](https://docs.bitiful.com/en/bitiful-s4/handbook/statistics.md): View a bucket's capacity, data transfer, and request curves, and learn about the query range and how the numbers are counted. - [Sub-users and AccessKeys](https://docs.bitiful.com/en/bitiful-s4/handbook/access-keys.md): Create sub-users and AccessKeys, and save, rotate, and delete keys. - [Sub-user permissions](https://docs.bitiful.com/en/bitiful-s4/handbook/permissions.md): Grant a sub-user bucket-level or directory-level read, write, list, and tag permissions, and learn which operations each permission covers and how permissions take effect. - [Public read and private](https://docs.bitiful.com/en/bitiful-s4/handbook/public-read.md): Set a bucket to public or private by default, and set public or private exceptions by directory. - [Access control](https://docs.bitiful.com/en/bitiful-s4/handbook/anti-leech.md): Restrict anonymous access with Referer, Headers, and IP blocklists and allowlists to prevent hotlinking. - [CORS settings](https://docs.bitiful.com/en/bitiful-s4/handbook/cors.md): Configure cross-origin rules for a bucket so scripts on specified websites can read or upload files, and learn about the HTTP/3 switch. - [Static websites and domains](https://docs.bitiful.com/en/bitiful-s4/handbook/website.md): Configure the default home page and 404 page, host single-page apps, manage bound bucket domains and path prefixes, and use your own domain through a CDN. - [Mirror back-to-origin](https://docs.bitiful.com/en/bitiful-s4/handbook/mirror.md): When a file doesn't exist in the bucket, fetch it from another origin and save it, for data migration without interrupting your business. - [Use cases](https://docs.bitiful.com/en/bitiful-s4/use-case.md): Scenarios where Bitiful S4 object storage is a good fit. - [Limits](https://docs.bitiful.com/en/bitiful-s4/limits.md): Performance metrics and usage limits of Bitiful S4 object storage. - [Key terms and concepts](https://docs.bitiful.com/en/bitiful-s4/definitions.md): Definitions of the concepts you will encounter when using S4 object storage. - [Move and rename objects](https://docs.bitiful.com/en/bitiful-s4/features/move-object.md): Rename or move objects with S4 native Move: console steps, the move=true parameter of CopyObject, examples in several languages, and limits. - [Request limits for presigned URLs](https://docs.bitiful.com/en/bitiful-s4/features/max-requests-limits.md): S4 natively supports x-bitiful-max-requests to limit how many times a presigned URL can be accessed. - [Simul-Transfer: upload and download at the same time](https://docs.bitiful.com/en/bitiful-s4/features/simul-transfer.md): Use Simul-Transfer to make file sharing up to 100% more efficient. - [BlurHash and ThumbHash image placeholders](https://docs.bitiful.com/en/bitiful-s4/features/hash-placeholder.md): BlurHash and ThumbHash give your images stunning yet lightweight loading placeholders, taking the image viewing experience to the next level. - [CoreIX overview](https://docs.bitiful.com/en/coreix/basic.md): An introduction to CoreIX, the media processing engine built into Bitiful S4. - [Supported media formats](https://docs.bitiful.com/en/formats.md): The image format conversion parameter is fmt, which sets the output format of an image. - [HDR images and video](https://docs.bitiful.com/en/coreix/hdr.md): CoreIX supports HDR end to end: high dynamic range is preserved through decoding, editing, and output. - [Watermark fonts](https://docs.bitiful.com/en/coreix/features/watermark-fonts.md): Fonts available for text watermarks and SVG watermarks, and how to specify them. - [Styles](https://docs.bitiful.com/en/coreix/handbook/styles.md): Save a set of media processing parameters as a style and call it with a short name. Variable parameters are supported. - [Original file protection](https://docs.bitiful.com/en/coreix/handbook/origin-protect.md): Block anonymous access to original images and videos, allow access only through styles, and optionally set a default style. - [Resize images](https://docs.bitiful.com/en/coreix/features/resize.md): Change image dimensions: proportional resize, crop, pad, and smart crop. - [Custom crop](https://docs.bitiful.com/en/coreix/features/crop.md): Use the rect parameter to extract any rectangular region from the original image by coordinates. - [Output quality](https://docs.bitiful.com/en/coreix/features/quality.md): Compress processed images at output to save as much data transfer as possible. This page describes the quality parameter and provides usage examples. - [Sharpen images](https://docs.bitiful.com/en/coreix/features/sharp.md): Use the sharp or usm parameter to make images sharper. - [Blur images](https://docs.bitiful.com/en/coreix/features/blur.md): Use the blur or px parameter to blur or pixelate images. - [Image watermarks](https://docs.bitiful.com/en/coreix/features/watermark-image.md): Overlay an image watermark on your images: parameter reference and examples. - [Text watermarks](https://docs.bitiful.com/en/coreix/features/watermark.md): Overlay a text watermark on your images: parameter reference and examples. - [SVG template watermarks](https://docs.bitiful.com/en/coreix/features/watermark-svg.md): Reserve variables in an SVG watermark template and fill in text dynamically at request time for multiple text blocks and complex layouts. - [Color management support](https://docs.bitiful.com/en/coreix/features/colorspace.md): CoreIX supports color management, including different color modes and major color spaces (P3, CMYK, HDR, Adobe RGB, ProPhoto RGB, and more). - [Extract frames from video and animations](https://docs.bitiful.com/en/coreix/features/frame.md): Use the frame parameter to extract a single still frame from a video or animated image. - [Trim borders](https://docs.bitiful.com/en/coreix/features/trim.md): Overview trim automatically removes solid-color borders (such as the white padding around product photos or the gray background in screenshots) or transparent… - [Image format conversion](https://docs.bitiful.com/en/coreix/features/fmt.md): Use the fmt parameter to specify the output format of an image. - [Clip video and convert to animations](https://docs.bitiful.com/en/coreix/features/video-clip.md): Use range syntax in frame to clip videos and extract segments of animated images, and convert between video and animated images. - [Color adjustment and auto enhance](https://docs.bitiful.com/en/coreix/features/adjust.md): Adjust an image's brightness, contrast, saturation, and other tonal properties, or enhance its quality automatically in one step. - [Face blurring](https://docs.bitiful.com/en/coreix/features/face-privacy.md): Automatically detect faces in an image and blur or pixelate them. - [Shapes and canvas](https://docs.bitiful.com/en/coreix/features/draw-canvas.md): Flip images, add borders, padding, and solid boxes, or crop images to rounded corners and circles. - [Image analysis](https://docs.bitiful.com/en/coreix/features/analysis.md): Extract an image's color palette, perceptual hash, face positions, content tags, aesthetic score, and feature vector. - [Certificate Center](https://docs.bitiful.com/en/certs-center/intro.md): Bitiful Certificate Center: request and automatically renew free or paid certificates, upload your own, and deploy them to CDN, bucket domains, and your own servers. - [Request auto certificates](https://docs.bitiful.com/en/certs-center/auto-cert.md): Request a Let's Encrypt or Google Trust Services auto certificate: configure DNS validation, check the fee, track progress, and handle automatic renewal and failures. - [Upload your own certificate](https://docs.bitiful.com/en/certs-center/custom-cert.md): Upload an existing SSL certificate to the Certificate Center, check the PEM format and certificate chain, replace it before it expires, and understand where a replacement takes effect. - [Deploy certificates](https://docs.bitiful.com/en/certs-center/deploy.md): Use Certificate Center certificates for CDN domains, bound bucket domains, and your own servers, and keep them updated automatically with the API. - [Quickstart](https://docs.bitiful.com/en/cdn/intro.md): Set up Bitiful CDN end to end, from identity verification and ICP filing to adding a CDN domain, configuring the CNAME and HTTPS, and confirming it works. - [Manage CDN domains](https://docs.bitiful.com/en/cdn/handbook/domains.md): Add, view, start, stop, and delete CDN domains, configure the CNAME, and switch between mainland China nodes and global nodes. - [Origin settings](https://docs.bitiful.com/en/cdn/handbook/origin.md): Set an S4 bucket or a custom origin, and change the origin address, origin Host header, origin path prefix, and origin request headers. - [HTTPS settings](https://docs.bitiful.com/en/cdn/handbook/https.md): Turn on HTTPS, forced redirects, and HTTP/2 for a CDN domain, and adjust TLS versions and OCSP stapling. - [Hotlink protection and access control](https://docs.bitiful.com/en/cdn/handbook/access-control.md): Use Referer, IP, and User-Agent allowlists and denylists, plus advanced authentication, to restrict who can access a CDN domain. - [Performance and response settings](https://docs.bitiful.com/en/cdn/handbook/performance.md): Per-connection speed limits, CORS configuration, download file names, and the CDN's default compression and error pages. - [Cache, purge, and prefetch](https://docs.bitiful.com/en/cdn/handbook/cache.md): CDN default cache durations, how the cache is keyed, and how to use, quota, and call URL purge, directory purge, and prefetch. - [Statistics](https://docs.bitiful.com/en/cdn/handbook/statistics.md): View a CDN domain's traffic, origin fetch traffic, request count, and origin fetch request count, and get statistics and logs through the API. - [Console overview](https://docs.bitiful.com/en/console/overview.md): Get to know the menus, top bar, and overview page of the Bitiful console, and how each number is calculated. - [Sign up, sign in, and verification](https://docs.bitiful.com/en/console/account.md): Sign up for a Bitiful account, sign in and reset your password, complete identity verification, view account information, and know which SMS notifications you'll receive. - [API tokens](https://docs.bitiful.com/en/console/api-token.md): Create, view, and delete API tokens, and use them to call Bitiful's data, CDN, and certificate APIs. - [Access logs](https://docs.bitiful.com/en/console/access-logs.md): View the last 3 days of access logs for buckets and CDN domains in the console, filter by status code, and troubleshoot with logs. ## Pricing - [Pricing overview](https://docs.bitiful.com/en/prices/basic.md): An introduction to object storage. - [Storage](https://docs.bitiful.com/en/prices/detail/storage-prices.md): Storage capacity pricing details for object storage. - [Data transfer](https://docs.bitiful.com/en/prices/detail/transfer-prices.md): Pricing details for data transfer out of object storage and CDN. - [Requests](https://docs.bitiful.com/en/prices/detail/requests-prices.md): Request pricing details for object storage and CDN. - [Auto certificates](https://docs.bitiful.com/en/prices/detail/autocerts-prices.md): Automatically request and renew domain certificates. - [Media processing](https://docs.bitiful.com/en/prices/detail/processing-prices.md): Request pricing details for object storage and CDN. - [Top up](https://docs.bitiful.com/en/prices/handbook/recharge.md): Top up your Bitiful account with WeChat Pay, Alipay, or a corporate bank transfer, use promo codes, and view top-up records and refund rules. - [Charges](https://docs.bitiful.com/en/prices/handbook/bills.md): View the three kinds of charge records (usage, certificates, and resource packages), and read the usage, free quota, and billable amount in each hourly bill. - [Resource packages](https://docs.bitiful.com/en/prices/handbook/resource-packages.md): Buy traffic packages and request packages, and understand what they offset, the offset order, validity, and expiry and cancellation rules. - [Coupons](https://docs.bitiful.com/en/prices/handbook/tickets.md): View the top-up coupons in your account, and understand restrictions such as the bonus ratio and minimum top-up amount, and what promo code errors mean. - [Overdue balances](https://docs.bitiful.com/en/prices/arrearage.md): How Bitiful handles overdue balances. ## API & SDK - [SDK overview](https://docs.bitiful.com/en/developer/sdk/intro.md): Connect to Bitiful S4 with S3 SDKs: connection settings, SDK entry points for each language, recommendations for direct client uploads, and general notes. - [Connect to S4 with Node.js](https://docs.bitiful.com/en/developer/sdk/nodejs-demo/start-to-use.md): Connect to Bitiful S4 from Node.js with the AWS SDK for JavaScript v3: complete examples for uploads, multipart uploads, downloads, listing, presigned URLs, extension parameters, and error handling. - [Connect to S4 with Go](https://docs.bitiful.com/en/developer/sdk/golang-demo/start-to-use.md): Connect to Bitiful S4 with aws-sdk-go-v2: complete examples for uploads, multipart uploads, downloads, listing, presigned URLs, and extension parameters such as CoreIX and rate limits. - [Connect to S4 with Python (Boto3)](https://docs.bitiful.com/en/developer/sdk/python3-demo/start-to-use.md): Connect to Bitiful S4 with Boto3: complete examples for uploads, multipart uploads, downloads, listing, deletion, presigned URLs, extension parameters, and error handling. - [Connect to S4 with Java](https://docs.bitiful.com/en/developer/sdk/java-demo/start-to-use.md): Connect to Bitiful S4 with the AWS SDK for Java 2.x: complete examples for uploads, multipart uploads, downloads, listing, presigned URLs, extension parameters, and error handling. - [Connect to S4 with PHP](https://docs.bitiful.com/en/developer/sdk/php-demo/start-to-use.md): Connect to Bitiful S4 with the AWS SDK for PHP: complete examples for uploads, resumable multipart uploads, downloads, listing, presigned URLs, extension parameters, and error handling. - [Connect to S4 with .NET](https://docs.bitiful.com/en/developer/sdk/dotnet-demo/start-to-use.md): Connect to Bitiful S4 with the AWS SDK for .NET: C# examples for uploads, multipart uploads, downloads, listing, presigned URLs, extension parameters, and error handling. - [Connect to S4 with Rust](https://docs.bitiful.com/en/developer/sdk/rust-demo/start-to-use.md): Connect to Bitiful S4 with aws-sdk-s3: Rust examples for uploads, multipart uploads, downloads, listing, presigned URLs, extension parameters, and error handling. - [Connect to S4 with Ruby](https://docs.bitiful.com/en/developer/sdk/ruby-demo/start-to-use.md): Connect to Bitiful S4 with the aws-sdk-s3 gem: Ruby examples for uploads, multipart uploads, downloads, listing, presigned URLs, extension parameters, and error handling. - [Upload and download in the browser](https://docs.bitiful.com/en/developer/sdk/browser-demo/start-to-use.md): Upload directly from the browser to Bitiful S4: the server issues presigned URLs and the frontend uploads with progress, with complete examples of concurrent multipart uploads for large files, retries, and cancellation. - [Upload and download on Android](https://docs.bitiful.com/en/developer/sdk/android-demo/start-to-use.md): Connect to Bitiful S4 on Android with OkHttp and presigned URLs: Kotlin examples for uploads with progress, downloads, and error handling. - [Upload and download on iOS / macOS](https://docs.bitiful.com/en/developer/sdk/swift-demo/start-to-use.md): Connect to Bitiful S4 on iOS and macOS with URLSession and presigned URLs: Swift examples for uploads with progress, downloads, and error handling. - [S3 API compatibility](https://docs.bitiful.com/en/developer/s3/compatibility.md): Which S3 API operations Bitiful S4 supports, plus signatures and checksums, object key rules, size limits, and how directory buckets differ from standard S3. - [Presigned URLs and S4 extension parameters](https://docs.bitiful.com/en/developer/s3/presigned-url.md): Generate presigned URLs to grant temporary upload and download access, and use S4 extension parameters for request limits, per-connection rate limits, Simul-Transfer, and media processing. - [Conditional requests](https://docs.bitiful.com/en/developer/s3/conditional-requests.md): Use conditional headers such as If-Match and If-None-Match for create-without-overwrite, optimistic-locking updates, conditional copy, and conditional delete, plus what each status code means. - [Error codes and troubleshooting](https://docs.bitiful.com/en/developer/s3/errors.md): The S4 error response format, a reference table of common error codes, and how to troubleshoot SignatureDoesNotMatch, AccessDenied, SlowDown, and other issues. - [Object storage](https://docs.bitiful.com/en/developer/api/s4.md): The Bitiful S4 object storage API: query a bucket's capacity, file count, and real-time access logs, with authentication, error format, and pagination examples. - [容量与文件数](https://docs.bitiful.com/en/developer/api/s4/get-usage.md): 查询存储桶当前的存储容量与文件数,按文件类型(Content-Type)分类返回。 容量单位是字节。`total_*` 等于其余五类之和。 - [实时日志](https://docs.bitiful.com/en/developer/api/s4/list-logs.md): 查询存储桶的实时访问日志,仅支持查询 **3 天内** 的日志。 结果按时间从新到旧排列,只返回早于 `start_time` 的日志。第一次请求把 `start_time` 设为当前时间;单次最多返回 1000 条,需要更多时,把返回结果中最后一条的 `access_time` 作为下一次请求的… - [Static CDN](https://docs.bitiful.com/en/developer/api/cdn.md): The Bitiful S4 static CDN API: query data transfer, request counts, and real-time logs, and purge the CDN cache. - [边缘流量](https://docs.bitiful.com/en/developer/api/cdn/get-traffic.md): 按时间段统计 CDN 边缘节点向访问者输出的流量。 - [回源流量](https://docs.bitiful.com/en/developer/api/cdn/get-origin-traffic.md): 按时间段统计 CDN 回源(从存储桶或自定义源站拉取)的流量。 - [边缘请求数](https://docs.bitiful.com/en/developer/api/cdn/get-requests.md): 按时间段统计 CDN 边缘节点收到的请求数。 - [回源请求数](https://docs.bitiful.com/en/developer/api/cdn/get-origin-requests.md): 按时间段统计 CDN 回源请求数。 - [实时日志](https://docs.bitiful.com/en/developer/api/cdn/list-logs.md): 查询 CDN 域名的实时访问日志,仅支持查询 **3 天内** 的日志。 返回 **早于** `start_time` 的日志,按时间从新到旧排列,单次最多 1000 条。首次请求把 `start_time` 设为当前时间;需要更多时,把返回结果中最后一条的 `access_time` 作为下一次请求的… - [刷新缓存](https://docs.bitiful.com/en/developer/api/cdn/refresh-cache.md): 按 URL 或目录刷新 CDN 边缘缓存,提交后约 5 分钟生效。不影响访问者浏览器里的缓存。 每个账户每天(北京时间)可刷新 5000 个 URL、100 个目录,与控制台共用额度;目录刷新每次最多 20 个。列表里有任意一个域名不属于当前账户,整批都会失败。 - [Certificates](https://docs.bitiful.com/en/developer/api/certs.md): The Bitiful Certificate Center API: list, fetch, and upload SSL certificates. - [证书列表](https://docs.bitiful.com/en/developer/api/certs/list-certs.md): 列出证书中心里的全部证书。 - [获取证书内容](https://docs.bitiful.com/en/developer/api/certs/get-cert-content.md): 获取证书与私钥的 PEM 内容。在自有架构中定时调用并结合部署脚本,可以全局自动应用最新的域名证书(含自动续期的证书)。 证书名称不存在、还在申请中或申请失败时返回 403。返回内容包含私钥,请配合安全措施防止 API Token 泄露。 - [上传证书](https://docs.bitiful.com/en/developer/api/certs/add-cert.md): 把已有的证书与私钥上传到证书中心。接口只能新增,不能覆盖已有证书。 返回成功表示已开始部署,用「证书列表」查询,`status` 为 `deployed` 后可以使用。 ## Solutions - [Upload files securely from the client](https://docs.bitiful.com/en/best-practice/web-uploads.md): How to use presigned URLs to give clients secure, high-performance large-file uploads. - [Auto-detect MIME types on upload](https://docs.bitiful.com/en/best-practice/auto-detect-mime.md): How to use Bitiful's automatic MIME detection for files. - [Advanced hotlink protection for CDN](https://docs.bitiful.com/en/best-practice/token-link.md): Turn on advanced authentication on Bitiful CDN and generate signed links from a key and an expiration time, with multi-language code and troubleshooting. - [Mount S4 locally with Bitifs](https://docs.bitiful.com/en/best-practice/solutions/bitifs.md): Use the official mounting tool Bitifs to mount an S4 bucket as a local folder on Windows, macOS, and Linux. - [Use S4 with Rclone](https://docs.bitiful.com/en/best-practice/solutions/rclone.md): Configure Rclone to connect to Bitiful S4 for uploads, sync, migration, verification, and mounting. - [Use AWS CLI and s5cmd](https://docs.bitiful.com/en/best-practice/solutions/aws-cli.md): Connect to Bitiful S4 with AWS CLI and s5cmd: configuration, upload and download, sync, presigned links, move, and batch operations. ## Changelog - [Product updates](https://docs.bitiful.com/en/changelog/overview.md): We're always shipping