Aller au contenu
KlingVérification

kling-video-o1/text-to-video

kling-o1-text-to-video

texte vers vidéoSortie: VidéoEntrée: texte
Chargement du prix…
Prix catalogue officiel · Non vérifié

Requête minimale

Champs obligatoires uniquement, générée à partir du schéma de ce modèle. Définissez HERMES_API_KEY dans votre environnement.

# 1. Submit the task (asynchronous; returns 202 with a task id)
curl -X POST https://api.hermes-ai.net/api/v1/jobs \
  -H "Authorization: Bearer $HERMES_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
  "model": "kling-o1-text-to-video",
  "input": {
    "aspectRatio": "9:16",
    "duration": "5",
    "mode": "std"
  }
}'

# 2. Poll until status is succeeded, failed or reconciliation_required
curl https://api.hermes-ai.net/api/v1/jobs/TASK_ID \
  -H "Authorization: Bearer $HERMES_API_KEY"