Referência da API do Veo 3.1 Fast
Clipes rápidos em 720p com som e até três imagens de referência.
Com uma única chave de API da PopNow você chama o Veo 3.1 Fast direto do seu código. Aqui estão os IDs de modelo a enviar, cada campo de entrada aceito, quanto custa cada requisição em USD e um exemplo que você cola no terminal e roda.
As descrições dos parâmetros vêm do schema de entrada do modelo e estão disponíveis só em inglês.
Resumo
- Desenvolvedor
- Resultado
- Vídeo
- A partir de
- $0.34 USD por requisição
Os preços são exibidos em USD e os valores são descontados do seu saldo PopNow. Ao aceitar a tarefa, o valor máximo é reservado; ao concluir, o uso real é cobrado e o restante liberado. Tarefas com falha não são cobradas. Consulte POST /api/v1/jobs/quote para obter uma cotação exata antes de executar.
Criar vídeo
google/veo-3.1-fast/text-to-video
Preço
| Opção | USD |
|---|---|
4 | $0.34 por requisição |
6 | $0.51 por requisição |
8 | $0.68 por requisição |
duration_seconds = 8, resolution = 1080p | $0.864 por requisição |
duration_seconds = 8, resolution = 4k | $2.16 por requisição |
Parâmetros
| Campo | Tipo | Padrão | Valores aceitos | Para que serve |
|---|---|---|---|---|
promptObrigatório | string | — | até 4.000 caracteres | Describe the subject, the action, the camera and the sound. |
aspect_ratioOpcional | string | 16:9 | 16:9, 9:16 | Output aspect ratio: 16:9 (1280x720) or 9:16 (720x1280). |
resolutionOpcional | 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_secondsOpcional | integer | 8 | 4, 6, 8 | Clip length: 4, 6 or 8 seconds. Billed per clip by length. |
Exemplo de requisição
Esta requisição roda do jeito que está; os campos que você omitir usam o valor padrão. Antes, coloque sua chave em 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"
}
}'A resposta já traz um taskId. Busque o resultado com GET /api/v1/jobs/recordInfo ou inclua callBackUrl para ser avisado.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Imagem para vídeo
google/veo-3.1-fast/image-to-video
Preço
| Opção | USD |
|---|---|
4 | $0.34 por requisição |
6 | $0.51 por requisição |
8 | $0.68 por requisição |
duration_seconds = 8, resolution = 1080p | $0.864 por requisição |
duration_seconds = 8, resolution = 4k | $2.16 por requisição |
Parâmetros
| Campo | Tipo | Padrão | Valores aceitos | Para que serve |
|---|---|---|---|---|
promptObrigatório | string | — | até 4.000 caracteres | Describe the motion, the camera and the sound. |
image_urlObrigatório | string (uri) | — | — | Opening frame of the clip. |
last_image_urlOpcional | string (uri) | — | — | Optional closing frame; the clip moves from the first frame to this one. |
aspect_ratioOpcional | string | auto | auto, 16:9, 9:16 | auto follows the first frame; 16:9 or 9:16 crops to that shape. |
resolutionOpcional | 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_secondsOpcional | integer | 8 | 4, 6, 8 | Clip length: 4, 6 or 8 seconds. Billed per clip by length. |
Exemplo de requisição
Esta requisição roda do jeito que está; os campos que você omitir usam o valor padrão. Antes, coloque sua chave em POPNOW_API_KEY.
O exemplo usa arquivos de amostra da PopNow em image_url. Troque pelos seus próprios links HTTPS públicos, uploads ou assets salvos.
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"
}
}'A resposta já traz um taskId. Busque o resultado com GET /api/v1/jobs/recordInfo ou inclua callBackUrl para ser avisado.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Referências para vídeo
google/veo-3.1-fast/reference-to-video
Preço
| Opção | USD |
|---|---|
8 | $0.68 por requisição |
duration_seconds = 8, resolution = 1080p | $0.864 por requisição |
duration_seconds = 8, resolution = 4k | $2.16 por requisição |
Parâmetros
| Campo | Tipo | Padrão | Valores aceitos | Para que serve |
|---|---|---|---|---|
promptObrigatório | string | — | até 4.000 caracteres | Say what from Image 1, Image 2 and Image 3 appears and what happens. |
reference_image_urlsObrigatório | array<string (uri)> | — | até 3 itens | One to three images of the people, products or places to keep. |
aspect_ratioOpcional | string | 16:9 | 16:9, 9:16 | Output aspect ratio: 16:9 or 9:16. |
resolutionOpcional | 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_secondsOpcional | integer | 8 | 8 | Clip length: fixed at 8 seconds in this mode. |
Exemplo de requisição
Esta requisição roda do jeito que está; os campos que você omitir usam o valor padrão. Antes, coloque sua chave em POPNOW_API_KEY.
O exemplo usa arquivos de amostra da PopNow em reference_image_urls. Troque pelos seus próprios links HTTPS públicos, uploads ou assets salvos.
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"
}
}'A resposta já traz um taskId. Busque o resultado com GET /api/v1/jobs/recordInfo ou inclua callBackUrl para ser avisado.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Estender vídeo
google/veo-3.1-fast/video-extend
Preço
| Opção | USD |
|---|---|
4 | $0.34 por requisição |
6 | $0.51 por requisição |
8 | $0.68 por requisição |
duration_seconds = 8, resolution = 1080p | $0.864 por requisição |
duration_seconds = 8, resolution = 4k | $2.16 por requisição |
Parâmetros
| Campo | Tipo | Padrão | Valores aceitos | Para que serve |
|---|---|---|---|---|
promptObrigatório | string | — | até 4.000 caracteres | Describe what happens next: the action, the camera and the sound. |
video_urlObrigatório | 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_urlOpcional | string (uri) | — | — | Optional closing frame for the new segment. |
resolutionOpcional | 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_secondsOpcional | 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. |
Exemplo de requisição
Esta requisição roda do jeito que está; os campos que você omitir usam o valor padrão. Antes, coloque sua chave em POPNOW_API_KEY.
O exemplo usa arquivos de amostra da PopNow em video_url. Troque pelos seus próprios links HTTPS públicos, uploads ou assets salvos.
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"
}
}'A resposta já traz um taskId. Busque o resultado com GET /api/v1/jobs/recordInfo ou inclua callBackUrl para ser avisado.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
