Slideshows
Crea workflows de slideshows y carruseles.
POST /slideshows
Crea un slideshow o carrusel.
Los créditos son slide_count * CREDITS_PER_SLIDE.
curl -X POST https://videotok.app/api/v1/slideshows \
-H "Authorization: Bearer vt_live_..." \
-H "Content-Type: application/json" \
-d '{
"prompt": "A carousel about sustainable fashion trends for 2026.",
"slide_count": 6,
"aspect_ratio": "4:5",
"product_image_urls": ["https://example.com/product.png"],
"brand_kit_id": 42,
"avatar_id": "avatar_123",
"language": "English",
"generate_text_overlays": true
}'
Campos
| Campo | Tipo | Notas |
|---|---|---|
prompt | string | Instrucción del usuario. |
slide_count | number | 3, 4, 5, 6, 8, 9 o 10. |
aspect_ratio | string | 9:16, 1:1 o 4:5. |
product_image_urls | string[] | Hasta 10 imágenes. |
avatar_id | string | Avatar opcional. |
brand_kit_id | number | Brand kit opcional. |
custom_reference_inspiration_id | uuid | Referencia guardada opcional. |
language | string | Por defecto English. |
generate_text_overlays | boolean | Por defecto true. |
GET /slideshows/{id}
Devuelve el registro del slideshow y su estado.