Zur Dokumentation springen
Dashboard öffnen
Auf dieser Seite

Assistant

Assistant und Film Maker rechnen während der Arbeit ab und pausieren bei fehlenden Credits. Der geführte Modus wartet auf kreative Freigaben.

Lauf starten#

Geführte Abläufe warten auf Freigabe in Tong. Automatische laufen weiter. Beide berechnen laufend und pausieren bei fehlenden Credits.

curl -X POST 'https://platform.tongai.io/v1/assistant/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": []}'
Konfiguration
curl --version

Lauf verfolgen#

HTTP
GET /v1/runs/{run_id}GET /v1/runs/{run_id}/events?after=0POST /v1/runs/{run_id}/pausePOST /v1/runs/{run_id}/resume

Assistant und Film Maker rechnen während der Arbeit ab und pausieren bei fehlenden Credits. Der geführte Modus wartet auf kreative Freigaben.

In Unterhaltung fortsetzen#

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": "assistant",  "mode": "guided"}'
Konfiguration
curl --version
HTTP
POST /v1/conversations/{conversation_id}/messagesIdempotency-Key: {new_intent_uuid}
{"text":"Continue with the next scene","attachment_asset_ids":[]}