본문으로 건너뛰기
xAI확인 중

xai/grok-imagine-v1.5/text-to-video

xai-grok-imagine-v1-5-text-to-video-economy

텍스트→동영상출력: 동영상입력: 텍스트
가격 불러오는 중…
공식 정가 · 확인되지 않음

최소 요청

필수 필드만 포함하며 이 모델의 스키마에서 생성됩니다. 환경 변수에 HERMES_API_KEY를 설정하세요.

# 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": "xai-grok-imagine-v1-5-text-to-video-economy",
  "input": {
    "prompt": "A lighthouse on a rocky coast at sunrise, soft light",
    "aspectRatio": "2:3",
    "resolution": "720p",
    "duration": 6
  }
}'

# 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"