Documentation Index
Fetch the complete documentation index at: https://docs.apimart.ai/llms.txt
Use this file to discover all available pages before exploring further.
Omni-Flash-Ext。"a girl is dancing happily in a sunny garden"4、6、8、10。720p1080p4k16:9 - 横屏9:16 - 竖屏16:9aspect_ratio 相同。若同时传入,建议保持与 aspect_ratio 一致。data:image/...;base64,... 形式的 Base64 图片。200。task_id,使用 获取任务状态 接口查询生成进度和结果。
| HTTP | 错误类型 | 含义 | 处理建议 |
|---|---|---|---|
| 400 | invalid_request_error | model 不是 Omni-Flash-Ext、prompt 为空或 JSON 格式错误 | 检查请求体 |
| 400 | invalid_duration | duration 不是 4、6、8 或 10 | 改成支持的时长 |
| 400 | invalid_resolution | resolution 不是 720p、1080p 或 4k | 改成支持的分辨率 |
| 400 | unsupported_image_count | image_urls 数量不受支持,常见于传入 2 张图 | 改成 0、1 或 3 张图片 |
| 401 | authentication_error | Token 无效 | 检查 Bearer Token |
| 402 | payment_required | 账户余额不足 | 充值后重试 |
| 429 | rate_limit_error | 触发限流 | 降低并发或稍后重试 |
data.error 中返回失败原因。常见原因包括上游配额暂时耗尽、内容审核未通过或上游超时。