Loading...
Loading...
Compare original and translation side by side
PREREQUISITE: Runfirst to ensure the API key is configured.+setup-api-key
前提条件: 请先运行确保API密钥已配置。+setup-api-key
.envRUNWAYML_API_SECRETecho $RUNWAYML_API_SECRET+setup-api-keyRUNWAYML_API_SECRET.envecho $RUNWAYML_API_SECRET+setup-api-keyGET /v1/organizationGET /v1/organizationimport RunwayML from '@runwayml/sdk';
const client = new RunwayML();
const details = await client.organization.retrieve();
console.log(JSON.stringify(details, null, 2));import RunwayML from '@runwayml/sdk';
const client = new RunwayML();
const details = await client.organization.retrieve();
console.log(JSON.stringify(details, null, 2));from runwayml import RunwayML
client = RunwayML()
details = client.organization.retrieve()
print(details)from runwayml import RunwayML
client = RunwayML()
details = client.organization.retrieve()
print(details)curl -s https://api.dev.runwayml.com/v1/organization \
-H "Authorization: Bearer $RUNWAYML_API_SECRET" \
-H "X-Runway-Version: 2024-11-06" | python3 -m json.toolcurl -s https://api.dev.runwayml.com/v1/organization \
-H "Authorization: Bearer $RUNWAYML_API_SECRET" \
-H "X-Runway-Version: 2024-11-06" | python3 -m json.tool{
"tier": {
"maxMonthlyCreditSpend": 10000,
"models": {
"gen4.5": {
"maxConcurrentGenerations": 2,
"maxDailyGenerations": 200
}
}
},
"creditBalance": 5000,
"usage": {
"models": {
"gen4.5": {
"dailyGenerations": 12
}
}
}
}{
"tier": {
"maxMonthlyCreditSpend": 10000,
"models": {
"gen4.5": {
"maxConcurrentGenerations": 2,
"maxDailyGenerations": 200
}
}
},
"creditBalance": 5000,
"usage": {
"models": {
"gen4.5": {
"dailyGenerations": 12
}
}
}
}undefinedundefined| Model | Concurrency | Daily Limit | Used Today | Remaining |
|---|---|---|---|---|
| gen4.5 | 2 | 200 | 12 | 188 |
| veo3.1 | 2 | 100 | 5 | 95 |
| ... | ... | ... | ... | ... |
Key things to highlight:
- **Credit balance** — convert to dollar value (`credits × $0.01`)
- **Per-model daily limits** — show how many generations remain today (rolling 24-hour window)
- **Concurrency** — how many tasks can run simultaneously per model
- **Monthly cap** — the max credit spend per month for their tier| 模型 | 并发数 | 每日上限 | 今日已使用 | 剩余额度 |
|---|---|---|---|---|
| gen4.5 | 2 | 200 | 12 | 188 |
| veo3.1 | 2 | 100 | 5 | 95 |
| ... | ... | ... | ... | ... |
需要重点突出的内容:
- **额度余额** —— 换算为美元价值(`点数 × $0.01`)
- **各模型每日上限** —— 展示当日剩余可生成次数(滚动24小时窗口)
- **并发数** —— 每个模型可同时运行的任务数量
- **月度上限** —— 对应等级的每月最高额度消费限制POST /v1/organization/usagePOST /v1/organization/usageconst usage = await client.organization.retrieveUsage({
startDate: '2026-02-15', // ISO-8601, up to 90 days back
beforeDate: '2026-03-17' // exclusive end date
});
console.log(JSON.stringify(usage, null, 2));const usage = await client.organization.retrieveUsage({
startDate: '2026-02-15', // ISO-8601格式,最多可查询90天内数据
beforeDate: '2026-03-17' // 结束日期,不含该日期
});
console.log(JSON.stringify(usage, null, 2));usage = client.organization.retrieve_usage(
start_date="2026-02-15",
before_date="2026-03-17"
)
print(usage)usage = client.organization.retrieve_usage(
start_date="2026-02-15",
before_date="2026-03-17"
)
print(usage)curl -s -X POST https://api.dev.runwayml.com/v1/organization/usage \
-H "Authorization: Bearer $RUNWAYML_API_SECRET" \
-H "X-Runway-Version: 2024-11-06" \
-H "Content-Type: application/json" \
-d '{"startDate": "2026-02-15", "beforeDate": "2026-03-17"}' \
| python3 -m json.toolcurl -s -X POST https://api.dev.runwayml.com/v1/organization/usage \
-H "Authorization: Bearer $RUNWAYML_API_SECRET" \
-H "X-Runway-Version: 2024-11-06" \
-H "Content-Type: application/json" \
-d '{"startDate": "2026-02-15", "beforeDate": "2026-03-17"}' \
| python3 -m json.tool{
"results": [
{
"date": "2026-03-16",
"usedCredits": [
{ "model": "gen4.5", "amount": 120 },
{ "model": "veo3.1", "amount": 400 }
]
}
],
"models": ["gen4.5", "veo3.1"]
}undefined{
"results": [
{
"date": "2026-03-16",
"usedCredits": [
{ "model": "gen4.5", "amount": 120 },
{ "model": "veo3.1", "amount": 400 }
]
}
],
"models": ["gen4.5", "veo3.1"]
}undefined| Date | Model | Credits Used |
|---|---|---|
| 2026-03-16 | gen4.5 | 120 |
| 2026-03-16 | veo3.1 | 400 |
| ... | ... | ... |
undefined| 日期 | 模型 | 已使用点数 |
|---|---|---|
| 2026-03-16 | gen4.5 | 120 |
| 2026-03-16 | veo3.1 | 400 |
| ... | ... | ... |
undefined| Tier | Concurrency | Daily Gens | Monthly Cap | Unlock Requirement |
|---|---|---|---|---|
| 1 (default) | 1–2 | 50–200 | $100 | — |
| 2 | 3 | 500–1,000 | $500 | 1 day + $50 spent |
| 3 | 5 | 1,000–2,000 | $2,000 | 7 days + $100 spent |
| 4 | 10 | 5,000–10,000 | $20,000 | 14 days + $1,000 spent |
| 5 | 20 | 25,000–30,000 | $100,000 | 7 days + $5,000 spent |
| 等级 | 并发数 | 每日生成量 | 月度上限 | 解锁要求 |
|---|---|---|---|---|
| 1(默认) | 1–2 | 50–200 | $100 | — |
| 2 | 3 | 500–1,000 | $500 | 注册满1天 + 消费满$50 |
| 3 | 5 | 1,000–2,000 | $2,000 | 注册满7天 + 消费满$100 |
| 4 | 10 | 5,000–10,000 | $20,000 | 注册满14天 + 消费满$1,000 |
| 5 | 20 | 25,000–30,000 | $100,000 | 注册满7天 + 消费满$5,000 |
| Issue | Cause | Fix |
|---|---|---|
| Invalid or missing API key | Re-run |
| No credits purchased | Purchase at https://dev.runwayml.com/ → Billing (min $10) |
| Daily limit reached | Rolling 24-hour quota exhausted | Wait for the window to reset, or upgrade tier |
| All models show 0 daily limit | Tier 1 restrictions | Check that credits have been purchased |
| 问题 | 原因 | 解决方案 |
|---|---|---|
| API密钥无效或缺失 | 重新运行 |
| 未购买点数 | 访问https://dev.runwayml.com/ → 账单页面购买(最低$10) |
| 达到每日上限 | 滚动24小时配额已用完 | 等待窗口重置,或升级等级 |
| 所有模型的每日上限均显示为0 | 等级1限制 | 确认已购买点数 |