アニメーションを見積もる
quote_animationの引数、結果スキーマ、OAuth権限、安全注釈を確認済みMCP契約から生成した参考資料です。
このページの目次
ツール
quote_animation
現在のクレジット額を計算し、短期限のquote_idを発行します。生成も支出も始めません。
権限と安全
OAuth権限:animations:write
| 安全シグナル | 値 |
|---|---|
destructiveHint |
false |
idempotentHint |
false |
openWorldHint |
false |
readOnlyHint |
true |
| spendsCredits | false |
| requiresUserConfirmation | false |
| sideEffects | temporary_quote_created |
注釈は安全上の特性であり、利用者の同意、OAuth認可、サーバー検査の代わりではありません。
入力引数
| フィールド | 型 | 必須 | 既定値 | 制約 | 説明 |
|---|---|---|---|---|---|
request |
AnimationCreateRequest | はい | — | — | Complete intended animation request; quoting starts no generation. |
引数の例
{
"request": {
"export": {
"frame_count": 24,
"output_formats": [
"frames_zip"
],
"output_height": 512,
"output_width": 512
},
"input": {
"first_frame": {
"file_id": "00000000-0000-4000-8000-000000000001",
"type": "file"
}
},
"prompt": "A character runs in place, side view, fixed camera.",
"selection": {
"mode": "full"
}
}
}
構造化された結果
| フィールド | 型 | 必須 | 既定値 | 制約 | 説明 |
|---|---|---|---|---|---|
breakdown |
object |
はい | — | — | Public cost components. |
credits |
integer |
はい | — | — | Quoted credits; show the amount to the user before generation. |
expires_at |
string |
はい | — | format: date-time |
Quote expiry; re-quote and confirm if it expires or price changes. |
quote_id |
string |
はい | — | format: uuid |
Short-lived quote owned by this user and OAuth client; can bind to one logical generation key. |
resolved_export |
ResolvedExport / null |
いいえ | null |
— | Resolved sampling summary for an independent FPS export. |
エラーと次の対応
ツールエラーのerrorにはcode、message、retryable、request_id、detailsがあります。メッセージ本文に依存した分岐や私的入力の漏えいを避けてください。終状態の失敗でも部分成果物を調べます。署名付きURLは保存済みファイルではありません。
この記事は役に立ちましたか?
検索語句、コード、自由記述は収集しません。この設定はドキュメントの操作イベントのみを制御します。 プライバシーポリシー