台本 → MP4 を1コールで生成
Changed onRequest
- Base URL: https://app.yukkurigen.com
- URL: https://app.yukkurigen.com/api/v1/agent/generate
- Auth: one of:
- HTTP bearer
- HTTP bearer
Headers
respond-async を付けて output:"mp4" を呼ぶと、門(認証・スコープ・プラン・レート上限・callbackUrl・クレジット)をその場で通してから、数秒で 202 とジョブが返る(RFC 7240。サーバの設定によっては付けてもジョブにならず、同期で処理して 200 を返す)。GET /api/v1/jobs/{jobId} で succeeded を待ち、result.renderId を進捗のポーリングに渡す。失敗したジョブのクレジットは返金される。例外は、レンダーを起動したあとにジョブだけが失敗した場合(まれ)で、レンダーは課金されたまま動いていて返金されず、Idempotency-Key も空かない(同じ鍵で投げ直すと、Prefer を付けていても起動済みのレンダーが 200 で返る)。renderId に agent-{jobId} を渡して進捗を見れば結果が分かる(not_found なら起動しておらず、返金される)。output:"draft" は常に同期。省略すると同期処理(既存互換。サーバの設定によっては、同じ受け付けのあと一定時間だけ完了を待ち、終わらなければ 202 を返す)。
Request body
Response
生成成功(同期の経路、同じ鍵の完了済み結果の再送、または Prefer なしの呼び出しをサーバが待つ設定で、待つ間にジョブが終わったとき)。レンダーを起動したあとにジョブだけが失敗した場合(まれ)も、同じ Idempotency-Key の再送(Prefer を付けていても)とサーバの待ちには、起動済みのレンダー(renderId: agent-{jobId})がこの 200 で返る。そのレンダーは課金されたまま動いていて返金されず、2本目は作られない。
Example response
{
"status": "rendering",
"callbackSignatureHeader": "X-Yukkurigen-Signature"
}Changes
- warning
added the new
already_subscribedenum value to theresponse property for the response status - warning
added the new
already_subscribedenum value to theresponse property for the response status - warning
added the new
already_subscribedenum value to theresponse property for the response status - warning
added the new
already_subscribedenum value to theresponse property for the response status - warning
added the new
already_subscribedenum value to theresponse property for the response status - warning
added the new
already_subscribedenum value to theresponse property for the response status - warning
added the new
already_subscribedenum value to theresponse property for the response status - warning
added the new
already_subscribedenum value to theresponse property for the response status - warning
added the new
render_not_paidenum value to theresponse property for the response status - warning
added the new
render_not_paidenum value to theresponse property for the response status - warning
added the new
render_not_paidenum value to theresponse property for the response status - warning
added the new
render_not_paidenum value to theresponse property for the response status - warning
added the new
render_not_paidenum value to theresponse property for the response status - warning
added the new
render_not_paidenum value to theresponse property for the response status - warning
added the new
render_not_paidenum value to theresponse property for the response status - warning
added the new
render_not_paidenum value to theresponse property for the response status - warning
added the new
render_not_readyenum value to theresponse property for the response status - warning
added the new
render_not_readyenum value to theresponse property for the response status - warning
added the new
render_not_readyenum value to theresponse property for the response status - warning
added the new
render_not_readyenum value to theresponse property for the response status - warning
added the new
render_not_readyenum value to theresponse property for the response status - warning
added the new
render_not_readyenum value to theresponse property for the response status - warning
added the new
render_not_readyenum value to theresponse property for the response status - warning
added the new
render_not_readyenum value to theresponse property for the response status - warning
added the new
tts_quota_exceededenum value to theresponse property for the response status - warning
added the new
tts_quota_exceededenum value to theresponse property for the response status - warning
added the new
tts_quota_exceededenum value to theresponse property for the response status - warning
added the new
tts_quota_exceededenum value to theresponse property for the response status - warning
added the new
tts_quota_exceededenum value to theresponse property for the response status - warning
added the new
tts_quota_exceededenum value to theresponse property for the response status - warning
added the new
tts_quota_exceededenum value to theresponse property for the response status - warning
added the new
tts_quota_exceededenum value to theresponse property for the response status - warning
added the new
youtube_not_connectedenum value to theresponse property for the response status - warning
added the new
youtube_not_connectedenum value to theresponse property for the response status - warning
added the new
youtube_not_connectedenum value to theresponse property for the response status - warning
added the new
youtube_not_connectedenum value to theresponse property for the response status - warning
added the new
youtube_not_connectedenum value to theresponse property for the response status - warning
added the new
youtube_not_connectedenum value to theresponse property for the response status - warning
added the new
youtube_not_connectedenum value to theresponse property for the response status - warning
added the new
youtube_not_connectedenum value to theresponse property for the response status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning