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":[]}