Référence API de Veo 3.1 Fast
Clips 720p rapides avec son et jusqu’à trois images de référence.
Une seule clé API PopNow suffit pour appeler Veo 3.1 Fast depuis votre code. Vous trouverez ici les identifiants de modèle à envoyer, chaque champ d’entrée accepté, le coût d’une requête en USD et une requête à coller telle quelle dans un terminal.
Les descriptions des paramètres proviennent du schéma d’entrée du modèle et ne sont disponibles qu’en anglais.
En bref
- Éditeur
- Résultat
- Vidéo
- À partir de
- $0.34 USD par requête
Les prix sont affichés en USD et les frais sont déduits de votre solde PopNow. Le montant maximal est réservé à la réception de la tâche, puis la consommation réelle est facturée à la fin et le solde libéré. Les tâches en échec ne sont pas facturées. Obtenez un devis exact avant de lancer avec POST /api/v1/jobs/quote.
Créer une vidéo
google/veo-3.1-fast/text-to-video
Prix
| Option | USD |
|---|---|
4 | $0.34 par requête |
6 | $0.51 par requête |
8 | $0.68 par requête |
duration_seconds = 8, resolution = 1080p | $0.864 par requête |
duration_seconds = 8, resolution = 4k | $2.16 par requête |
Paramètres
| Champ | Type | Valeur par défaut | Valeurs admises | Rôle |
|---|---|---|---|---|
promptObligatoire | string | — | jusqu’à 4 000 caractères | Describe the subject, the action, the camera and the sound. |
aspect_ratioFacultatif | string | 16:9 | 16:9, 9:16 | Output aspect ratio: 16:9 (1280x720) or 9:16 (720x1280). |
resolutionFacultatif | string | 720p | 720p, 1080p, 4k | Output resolution: 720p (default), or 1080p and 4k for 8-second clips only. The two larger sizes are upscaled from the 720p render and take a few minutes more. |
duration_secondsFacultatif | integer | 8 | 4, 6, 8 | Clip length: 4, 6 or 8 seconds. Billed per clip by length. |
Exemple de requête
Cette requête fonctionne telle quelle ; les champs omis gardent leur valeur par défaut. Placez d’abord votre clé dans POPNOW_API_KEY.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "google/veo-3.1-fast/text-to-video",
"input": {
"prompt": "A paper boat drifts down a rain-soaked street at dusk, neon signs reflecting in the water, slow tracking shot at ground level",
"duration_seconds": 8,
"resolution": "720p"
}
}'La réponse contient tout de suite un taskId. Récupérez le résultat avec GET /api/v1/jobs/recordInfo, ou ajoutez callBackUrl pour être prévenu.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Image vers vidéo
google/veo-3.1-fast/image-to-video
Prix
| Option | USD |
|---|---|
4 | $0.34 par requête |
6 | $0.51 par requête |
8 | $0.68 par requête |
duration_seconds = 8, resolution = 1080p | $0.864 par requête |
duration_seconds = 8, resolution = 4k | $2.16 par requête |
Paramètres
| Champ | Type | Valeur par défaut | Valeurs admises | Rôle |
|---|---|---|---|---|
promptObligatoire | string | — | jusqu’à 4 000 caractères | Describe the motion, the camera and the sound. |
image_urlObligatoire | string (uri) | — | — | Opening frame of the clip. |
last_image_urlFacultatif | string (uri) | — | — | Optional closing frame; the clip moves from the first frame to this one. |
aspect_ratioFacultatif | string | auto | auto, 16:9, 9:16 | auto follows the first frame; 16:9 or 9:16 crops to that shape. |
resolutionFacultatif | string | 720p | 720p, 1080p, 4k | Output resolution: 720p (default), or 1080p and 4k for 8-second clips only. The two larger sizes are upscaled from the 720p render and take a few minutes more. |
duration_secondsFacultatif | integer | 8 | 4, 6, 8 | Clip length: 4, 6 or 8 seconds. Billed per clip by length. |
Exemple de requête
Cette requête fonctionne telle quelle ; les champs omis gardent leur valeur par défaut. Placez d’abord votre clé dans POPNOW_API_KEY.
L’exemple utilise des fichiers d’exemple PopNow dans image_url. Remplacez-les par vos propres liens HTTPS publics, fichiers envoyés ou ressources enregistrées.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "google/veo-3.1-fast/image-to-video",
"input": {
"prompt": "He lands softly on the rooftop, laughs and turns toward the camera while the balloons sway in the evening breeze; slow push-in",
"image_url": "https://media.popnow.ai/influencer/examples/marco.webp",
"duration_seconds": 8,
"resolution": "720p"
}
}'La réponse contient tout de suite un taskId. Récupérez le résultat avec GET /api/v1/jobs/recordInfo, ou ajoutez callBackUrl pour être prévenu.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Références vers vidéo
google/veo-3.1-fast/reference-to-video
Prix
| Option | USD |
|---|---|
8 | $0.68 par requête |
duration_seconds = 8, resolution = 1080p | $0.864 par requête |
duration_seconds = 8, resolution = 4k | $2.16 par requête |
Paramètres
| Champ | Type | Valeur par défaut | Valeurs admises | Rôle |
|---|---|---|---|---|
promptObligatoire | string | — | jusqu’à 4 000 caractères | Say what from Image 1, Image 2 and Image 3 appears and what happens. |
reference_image_urlsObligatoire | array<string (uri)> | — | jusqu’à 3 éléments | One to three images of the people, products or places to keep. |
aspect_ratioFacultatif | string | 16:9 | 16:9, 9:16 | Output aspect ratio: 16:9 or 9:16. |
resolutionFacultatif | string | 720p | 720p, 1080p, 4k | Output resolution: 720p (default), or 1080p and 4k for 8-second clips only. The two larger sizes are upscaled from the 720p render and take a few minutes more. |
duration_secondsFacultatif | integer | 8 | 8 | Clip length: fixed at 8 seconds in this mode. |
Exemple de requête
Cette requête fonctionne telle quelle ; les champs omis gardent leur valeur par défaut. Placez d’abord votre clé dans POPNOW_API_KEY.
L’exemple utilise des fichiers d’exemple PopNow dans reference_image_urls. Remplacez-les par vos propres liens HTTPS publics, fichiers envoyés ou ressources enregistrées.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "google/veo-3.1-fast/reference-to-video",
"input": {
"prompt": "The man from the reference image jogs across a sunlit rooftop at golden hour and smiles at the camera; smooth tracking shot",
"reference_image_urls": [
"https://media.popnow.ai/influencer/examples/ava.webp"
],
"duration_seconds": 8,
"resolution": "720p"
}
}'La réponse contient tout de suite un taskId. Récupérez le résultat avec GET /api/v1/jobs/recordInfo, ou ajoutez callBackUrl pour être prévenu.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Prolonger une vidéo
google/veo-3.1-fast/video-extend
Prix
| Option | USD |
|---|---|
4 | $0.34 par requête |
6 | $0.51 par requête |
8 | $0.68 par requête |
duration_seconds = 8, resolution = 1080p | $0.864 par requête |
duration_seconds = 8, resolution = 4k | $2.16 par requête |
Paramètres
| Champ | Type | Valeur par défaut | Valeurs admises | Rôle |
|---|---|---|---|---|
promptObligatoire | string | — | jusqu’à 4 000 caractères | Describe what happens next: the action, the camera and the sound. |
video_urlObligatoire | string (uri) | — | — | The clip to continue, up to 60 seconds. Its last frame opens the new segment; you get back one file with both joined. |
last_image_urlFacultatif | string (uri) | — | — | Optional closing frame for the new segment. |
resolutionFacultatif | string | 720p | 720p, 1080p, 4k | Size of the new segment, which also sets the size of the joined file: 720p by default, 1080p or 4k when the segment is 8 seconds. Match your source clip. |
duration_secondsFacultatif | integer | 8 | 4, 6, 8 | Length of the new segment: 4, 6 or 8 seconds. Billed per segment by length; the source clip is not billed. |
Exemple de requête
Cette requête fonctionne telle quelle ; les champs omis gardent leur valeur par défaut. Placez d’abord votre clé dans POPNOW_API_KEY.
L’exemple utilise des fichiers d’exemple PopNow dans video_url. Remplacez-les par vos propres liens HTTPS publics, fichiers envoyés ou ressources enregistrées.
curl -X POST "https://api.popnow.ai/api/v1/jobs/createTask" \
-H "Authorization: Bearer $POPNOW_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{
"model": "google/veo-3.1-fast/video-extend",
"input": {
"prompt": "The flowers keep opening while the camera slowly pulls back to reveal a sunlit meadow",
"video_url": "https://media.popnow.ai/effects/flower-bloom-1abd6efb.mp4",
"duration_seconds": 8,
"resolution": "720p"
}
}'La réponse contient tout de suite un taskId. Récupérez le résultat avec GET /api/v1/jobs/recordInfo, ou ajoutez callBackUrl pour être prévenu.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
