PopNowDocs API
Contenuto principale

Riferimento API di Veo 3.1

Video cinematografici con audio nativo.

Con una sola chiave API di PopNow chiami Veo 3.1 dal tuo codice. Qui trovi gli ID del modello da inviare, ogni campo di input accettato, quanto costa ogni richiesta in USD e una richiesta da incollare nel terminale così com’è.

Le descrizioni dei parametri provengono dallo schema di input del modello e sono disponibili solo in inglese.

In sintesi

Sviluppato da
Google
Risultato
Video
Da
$1.36 USD per richiesta

I prezzi sono indicati in USD e gli importi vengono addebitati sul tuo saldo PopNow. Alla ricezione viene riservato il massimo importo; al termine viene addebitato il consumo effettivo e il resto viene sbloccato. Le attività fallite non vengono addebitate. Per un preventivo esatto prima di eseguire, usa POST /api/v1/jobs/quote.

Crea video

google/veo-3.1/text-to-video

Prezzo

OpzioneUSD
4$1.36 per richiesta
6$2.04 per richiesta
8$2.72 per richiesta
duration_seconds = 8, resolution = 1080p$2.88 per richiesta
duration_seconds = 8, resolution = 4k$4.32 per richiesta

Parametri

CampoTipoPredefinitoValori ammessiA cosa serve
promptObbligatoriostring—fino a 4000 caratteriDescribe the subject, the action, the camera and the sound.
aspect_ratioFacoltativostring16:916:9, 9:16Output aspect ratio: 16:9 (1280x720) or 9:16 (720x1280).
resolutionFacoltativostring720p720p, 1080p, 4kOutput resolution. 720p is the default; 1080p and 4k are 8-second clips only and take longer, because the 720p render is upscaled.
duration_secondsFacoltativointeger84, 6, 8Clip length: 4, 6 or 8 seconds. Billed per clip by length.

Richiesta di esempio

Questa richiesta funziona così com’è; i campi omessi usano il valore predefinito. Prima salva la tua chiave in POPNOW_API_KEY.

POST /api/v1/jobs/createTask
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/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 risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Da immagine a video

google/veo-3.1/image-to-video

Prezzo

OpzioneUSD
4$1.36 per richiesta
6$2.04 per richiesta
8$2.72 per richiesta
duration_seconds = 8, resolution = 1080p$2.88 per richiesta
duration_seconds = 8, resolution = 4k$4.32 per richiesta

Parametri

CampoTipoPredefinitoValori ammessiA cosa serve
promptObbligatoriostring—fino a 4000 caratteriDescribe the motion, the camera and the sound.
image_urlObbligatoriostring (uri)——Opening frame of the clip.
last_image_urlFacoltativostring (uri)——Optional closing frame; the clip moves from the first frame to this one.
aspect_ratioFacoltativostringautoauto, 16:9, 9:16auto follows the first frame; 16:9 or 9:16 crops to that shape.
resolutionFacoltativostring720p720p, 1080p, 4kOutput resolution. 720p is the default; 1080p and 4k are 8-second clips only and take longer, because the 720p render is upscaled.
duration_secondsFacoltativointeger84, 6, 8Clip length: 4, 6 or 8 seconds. Billed per clip by length.

Richiesta di esempio

Questa richiesta funziona così com’è; i campi omessi usano il valore predefinito. Prima salva la tua chiave in POPNOW_API_KEY.

L’esempio usa file di prova di PopNow in image_url. Sostituiscili con i tuoi link HTTPS pubblici, file caricati o asset salvati.

POST /api/v1/jobs/createTask
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/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 risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Allunga video

google/veo-3.1/video-extend

Prezzo

OpzioneUSD
4$1.36 per richiesta
6$2.04 per richiesta
8$2.72 per richiesta
duration_seconds = 8, resolution = 1080p$2.88 per richiesta
duration_seconds = 8, resolution = 4k$4.32 per richiesta

Parametri

CampoTipoPredefinitoValori ammessiA cosa serve
promptObbligatoriostring—fino a 4000 caratteriDescribe what happens next: the action, the camera and the sound.
video_urlObbligatoriostring (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_urlFacoltativostring (uri)——Optional closing frame for the new segment.
resolutionFacoltativostring720p720p, 1080p, 4kResolution of the new segment and of the joined file: 720p (default), or 1080p and 4k for 8-second segments only. Match your source clip.
duration_secondsFacoltativointeger84, 6, 8Length of the new segment: 4, 6 or 8 seconds. Billed per segment by length; the source clip is not billed.

Richiesta di esempio

Questa richiesta funziona così com’è; i campi omessi usano il valore predefinito. Prima salva la tua chiave in POPNOW_API_KEY.

L’esempio usa file di prova di PopNow in video_url. Sostituiscili con i tuoi link HTTPS pubblici, file caricati o asset salvati.

POST /api/v1/jobs/createTask
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/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 risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.

GET /api/v1/jobs/recordInfo
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
  -H "Authorization: Bearer $POPNOW_API_KEY"

Passi successivi

In questa pagina