このモデルについて
使用简单的文本指令编辑和优化之前生成的动态图形动画。它采用与 motion-graphics 生成相同的 AI 流水线,在应用定向更改(颜色调整、字体排版微调、布局修改或速度变化)的同时,保留原动画的结构和时间安排。
コスト分析
| プロバイダー | 費用 | 備考 |
|---|---|---|
| muapi | $0.50–$0.98 per edit | Same pricing as generation. Duration-based: 5s = $0.50, 30s = $0.98. |
| Fal.ai | 提供なし | 没有等效的动态图形编辑端点。 |
| Replicate | 提供なし | 没有等效的动态图形编辑端点。 |
Same pricing as generation. Duration-based: 5s = $0.50, 30s = $0.98.
没有等效的动态图形编辑端点。
没有等效的动态图形编辑端点。
** 競合サービスの料金は類似のモデル構成および利用ティアに基づいて算出された推定値です。
設定スキーマ
| パラメータ | 型 | 説明 | デフォルト |
|---|---|---|---|
| 原始请求 ID | string | 已完成的动态图形生成任务的 request_id。 | - |
| 编辑指令 | string | 描述要更改的内容(例如 'change the background to dark blue and make the bars gold')。 | Change the background to deep navy and make all text gold |
| 長さ(秒)(秒) | int | 覆盖出力生成時間(5–30 秒)。デフォルト为原始生成的生成時間。 | 6 |
| アスペクト比 | Enum(3個の選択肢) | 覆盖出力画布アスペクト比。デフォルト为原始生成的比例。 | 16:9 |
已完成的动态图形生成任务的 request_id。
-描述要更改的内容(例如 'change the background to dark blue and make the bars gold')。
Change the background to deep navy and make all text gold覆盖出力生成時間(5–30 秒)。デフォルト为原始生成的生成時間。
6覆盖出力画布アスペクト比。デフォルト为原始生成的比例。
16:9開発者ドキュメント
先生成:使用 /motion-graphics 端点创建基础动画,并记下 request_id。
描述更改:编写精确的 edit_prompt——越具体越好。示例:
"Change the background to deep navy and all text to gold""Replace the bar chart colors with a gradient from purple to pink""Add a subtle radial glow behind the main title"需要时覆盖尺寸:可选传入 duration_seconds 或 aspect_ratio,以重新设置视频格式。
轮询结果:使用 GET /api/v1/predictions/{request_id}/result,直到状态为 completed。
FAQ
只有在编辑功能部署后创建的生成结果可以编辑。更早的生成结果没有保存的动画代码,并会返回 400 错误。
颜色更改、字体或文字修改、时序调整以及添加简单元素通常都很可靠。复杂的结构重写(例如将柱状图替换为饼图)可能通过使用更新后的プロンプト从头重新生成获得更好的结果。
除非你在请求中明确传入 `aspect_ratio` 或 `duration_seconds`,否则不会。省略这些参数时,会继承原始生成结果的设置。
可以——每次编辑都会生成一个新的 `request_id`,你可以将它传给下一次编辑调用。