管理存储图片转换的使用
你被收费的项目 #
🌐 What you are charged for
无论每张图片进行了多少次转换,计费周期内你都会按照转换过的不同图片数量收费。我们将这些图片称为“原始”图片。
🌐 You are charged for the number of distinct images transformed during the billing period, regardless of how many transformations each image undergoes. We refer to these images as "origin" images.
示例 #
🌐 Example
对 image-1.jpg 和 image-2.jpg 应用这四种变换后,原始图片的数量是2。
🌐 With these four transformations applied to image-1.jpg and image-2.jpg, the origin images count is 2.
1supabase.storage.from('bucket').createSignedUrl('image-1.jpg', 60000, {2 transform: {3 width: 200,4 height: 200,5 },6})1supabase.storage.from('bucket').createSignedUrl('image-2.jpg', 60000, {2 transform: {3 width: 400,4 height: 300,5 },6})1supabase.storage.from('bucket').createSignedUrl('image-2.jpg', 60000, {2 transform: {3 width: 600,4 height: 250,5 },6})1supabase.storage.from('bucket').download('image-2.jpg', {2 transform: {3 width: 800,4 height: 300,5 },6})费用是怎么计算的 #
🌐 How charges are calculated
存储图片转换按套餐计费,每个套餐代表1000张原始图片。如果你的使用量介于两个套餐之间,会按下一个整套餐收费。
🌐 Storage Image Transformations are billed using Package pricing, with each package representing 1000 origin images. If your usage falls between two packages, you are billed for the next whole package.
示例 #
🌐 Example
为了简单起见,假设每个包的数量为1000,每个包的收费为 $5 ,没有配额。
| 起始图片 | 计费封装 | 成本 |
|---|---|---|
| 999 | 1 | $5 |
| 1,000 | 1 | $5 |
| 1,001 | 2 | $10 |
| 1,500 | 2 | $10 |
在你的发票上的用途 #
🌐 Usage on your invoice
发票上显示的用法是“存储图片转换”。
🌐 Usage is shown as "Storage Image Transformations" on your invoice.
$5 每 1,000 张原始图片。只有超过订阅计划配额的使用才会收费。
计数在每个计费周期开始时重置。
🌐 The count resets at the start of each billing cycle.
| 计划 | 配额 | 超额使用 |
|---|---|---|
| 专业版 | 100 | $5 每 1,000 张原始图片 |
| 团队版 | 100 | $5 每 1,000 张原始图片 |
| 企业版 | 自定义 | 自定义 |
要详细了解费用是如何计算的,请参考管理存储图片转换使用情况。
🌐 For a detailed breakdown of how charges are calculated, refer to Manage Storage Image Transformations usage.
计费示例 #
🌐 Billing examples
在配额内 #
🌐 Within quota
该组织本计费周期的原始图片数量在配额范围内,因此不收取费用。
🌐 The organization's number of origin images for the billing cycle is within the quota, so no charges apply.
| 项目 | 单位 | 成本 |
|---|---|---|
| 专业计划 | 1 | $25 |
| 小型计算小时 | 730 小时 | $15 |
| 图片转换 | 74 张原始图片 | $0 |
| 小计 | $40 | |
| 计算积分 | -$10 | |
| 总计 | $30 |
超出配额 #
🌐 Exceeding quota
这个组织在计费周期内的原始图片数量超出了配额750张,因此会产生额外使用费用。
🌐 The organization's number of origin images for the billing cycle exceeds the quota by 750, incurring charges for this additional usage.
| 项目 | 单位 | 成本 |
|---|---|---|
| 专业计划 | 1 | $25 |
| 小型计算小时 | 730 小时 | $15 |
| 图片转换 | 850 张原始图片 | $5 |
| 小计 | $45 | |
| 计算积分 | -$10 | |
| 总计 | $35 |
查看使用情况 #
🌐 View usage
你可以在 组织的使用情况页面 查看存储图片转换的使用情况。该页面默认显示所有项目的使用情况。要查看特定项目的使用情况,可以从下拉菜单中选择它。你也可以选择不同的时间段。
🌐 You can view Storage Image Transformations usage on the organization's usage page. The page shows the usage of all projects by default. To view the usage for a specific project, select it from the dropdown. You can also select a different time period.

在存储图片转换部分,你可以看到在所选时间段内有多少原始图片被转换过。
🌐 In the Storage Image Transformations section, you can see how many origin images were transformed during the selected time period.

优化使用 #
🌐 Optimize usage
- 预先生成常用的变体——与其即时转换图片,不如提前生成并存储常用的尺寸
- 优化原始图片尺寸——上传优化格式和分辨率的图片,以减少过多的变换需求
- 利用 Smart CDN 缓存或其他任何缓存方案来高效提供转换后的图片,避免不必要的重复转换
- 使用
Cache-Control头来控制资源在浏览器中存储的时间
超额 #
🌐 Exceeding Quotas
如果你使用的是付费计划并且已关闭花费上限,或者你的组织使用的是团队计划及以上,你将需要支付任何超出部分的费用。
🌐 If you are on a paid plan and have Spend Cap disabled or your organization is on Team Plan or above, you will pay for any overages.
当你在使用免费计划或启用了消费上限时超出配额,你会收到发送到账单邮箱的通知,并进入宽限期。更多细节请参阅我们的公平使用政策。
🌐 When you are exceeding your quotas while being on a Free Plan or having Spend Cap enabled, you will get a notification to your billing email address and put under a grace period. For more details, refer to our Fair Use Policy.