Film Maker
AssistantとFilm Makerは利用可能な画像・動画・音声・編集ツールを使います。内部の推論モデルは公開の選択対象ではありません。
実行を開始#
ガイド付き実行はTongでの確認を待ち、自動実行は続行します。どちらも進行に応じて課金され、残高不足で一時停止します。
curl -X POST 'https://platform.tongai.io/v1/filmmaker/runs' \ -H "Authorization: Bearer $TONG_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: 45be69f1-c266-4a09-a82c-bf3c6303eb03" \ -d '{ "message": "Create a short film about a quiet city", "mode": "guided", "attachments": []}'設定
curl --version実行を追跡#
GET /v1/runs/{run_id}GET /v1/runs/{run_id}/events?after=0POST /v1/runs/{run_id}/pausePOST /v1/runs/{run_id}/resumeAssistantとFilm Makerは作業の進行に応じて課金し、クレジット不足で一時停止します。ガイドモードは制作内容の確認を待ちます。
会話で続行#
curl -X POST 'https://platform.tongai.io/v1/conversations' \ -H "Authorization: Bearer $TONG_API_KEY" \ -H "Content-Type: application/json" \ -H "Idempotency-Key: 45be69f1-c266-4a09-a82c-bf3c6303eb03" \ -d '{ "entrypoint": "filmmaker", "mode": "guided"}'設定
curl --versionPOST /v1/conversations/{conversation_id}/messagesIdempotency-Key: {new_intent_uuid}
{"text":"Continue with the next scene","attachment_asset_ids":[]}