Saltar al contenido
GoogleComprobando

gemini-omni-flash/image-to-video

gemini-omni-flash-image-to-video-economy

imagen a vídeoSalida: VídeoEntrada: texto + imagen
Cargando precio…
Precio de lista oficial · Sin verificar

Solicitud mínima

Solo campos obligatorios, generada a partir del esquema de este modelo. Define HERMES_API_KEY en tu entorno.

# 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": "gemini-omni-flash-image-to-video-economy",
  "input": {
    "prompt": "make the character smile and slowly turn around, cinematic camera motion",
    "imageUrls": [
      "https://example.com/input.png"
    ],
    "duration": "6",
    "resolution": "720p"
  }
}'

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

Con los valores predeterminados documentados

La misma solicitud con cada valor predeterminado opcional escrito, para que veas qué cambiar.

# 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": "gemini-omni-flash-image-to-video-economy",
  "input": {
    "prompt": "make the character smile and slowly turn around, cinematic camera motion",
    "imageUrls": [
      "https://example.com/input.png"
    ],
    "duration": "6",
    "resolution": "720p",
    "aspectRatio": "16:9"
  }
}'

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

Sube primero un archivo local

Sustituye la URL de ejemplo por la referencia multimedia devuelta.

POST /api/v1/media
curl -X POST https://api.hermes-ai.net/api/v1/media \
  -H "Authorization: Bearer $HERMES_API_KEY" \
  -H "Content-Type: image/png" \
  --data-binary @input.png
# → { "reference": "media:<uuid>", ... }  Use the reference in an image or video field.