Motion to Code · GLSL
Создаёт зацикленную анимацию как GLSL-шейдер: по описанию, изображению или видео. Результат — MP4 и исходники с HTML-плеером.
Coste
desde 15 tokens/s
Probar Motion to Code · GLSL en Givon AI
Abre un proyecto para crear de forma habitual o usa Playground para revisar los parámetros del modelo.
Usar mediante API
Campos, límites y ejemplos listos para desarrolladores. El flujo de usuario empieza arriba.
IDEMPOTENCY_KEY="${IDEMPOTENCY_KEY:-$(uuidgen)}"
curl -X POST https://api.givon.ai/api/v1/generations \
-H "Authorization: Bearer $GIVON_API_KEY" \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{"type":"video","model":"motion-to-code-glsl","input":{"prompt":"toma cinematográfica de dron sobre una ciudad nocturna","aspectRatio":"16:9","duration":6}}'Campos de entrada
* obligatorio| Campo | Tipo | Predeterminado | Permitido |
|---|---|---|---|
prompt promptGeneration prompt describing the scene, action and direction. | string | — | hasta 4000 caracteres |
aspectRatio aspectRatio | string | 16:9 | 16:9, 9:16, 1:1, auto |
duration duration | number | 6 | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 |
Start image startImageAsset input for the startImage slot. | string | — | image · asset, https, data |
Source video sourceVideoAsset input for the sourceVideo slot. | string | — | video · asset, https, data |
Speech audio speechAudioAsset input for the speechAudio slot. | string | — | voiceover · asset, https, data |
providerOptions providerOptions | object | — | object |
promptGeneration prompt describing the scene, action and direction.
- Tipo
- string
- Predeterminado
- —
- Permitido
- hasta 4000 caracteres
aspectRatio- Tipo
- string
- Predeterminado
- 16:9
- Permitido
- 16:9, 9:16, 1:1, auto
duration- Tipo
- number
- Predeterminado
- 6
- Permitido
- 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15
startImageAsset input for the startImage slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- image · asset, https, data
sourceVideoAsset input for the sourceVideo slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- video · asset, https, data
speechAudioAsset input for the speechAudio slot.
- Tipo
- string
- Predeterminado
- —
- Permitido
- voiceover · asset, https, data
providerOptions- Tipo
- object
- Predeterminado
- —
- Permitido
- object
Coste
desde 15 tokens/sLa variante se selecciona automáticamente a partir de los campos de la petición; no necesitas enviarla.
Capacidades
text_to_videoimage_to_videovideo_editstartImage:imagesourceVideo:videospeechAudio:voiceover