Riferimento API di PixVerse V6
Clip da 1 a 15 secondi fino a 1080p, con riferimenti e transizioni
Con una sola chiave API di PopNow chiami PixVerse V6 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
- PixVerse
- Risultato
- Video
- Da
- $0.023 USD per secondo generato
- Tempo tipico
- circa 49 s
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
pixverse/v6/text-to-video
Prezzo
| Opzione | USD |
|---|---|
generate_audio = false, resolution = 360p | $0.023 per secondo generato |
generate_audio = false, resolution = 540p | $0.032 per secondo generato |
generate_audio = true, resolution = 360p | $0.032 per secondo generato |
generate_audio = false, resolution = 720p | $0.041 per secondo generato |
generate_audio = true, resolution = 540p | $0.041 per secondo generato |
generate_audio = true, resolution = 720p | $0.054 per secondo generato |
generate_audio = false, resolution = 1080p | $0.081 per secondo generato |
generate_audio = true, resolution = 1080p | $0.104 per secondo generato |
Parametri
| Campo | Tipo | Predefinito | Valori ammessi | A cosa serve |
|---|---|---|---|---|
promptObbligatorio | string | — | fino a 5000 caratteri | Describe the subject, the action and the camera. |
aspect_ratioFacoltativo | string | 16:9 | 16:9, 4:3, 1:1, 3:4, 9:16, 2:3, 3:2, 21:9 | Output aspect ratio. |
resolutionFacoltativo | string | 720p | 360p, 540p, 720p, 1080p | Output resolution. Higher tiers cost more per second. |
duration_secondsFacoltativo | integer | 5 | da 1 a 15 | Clip length in whole seconds, 1 to 15. Billed per second. |
generate_audioFacoltativo | boolean | false | — | Generate sound with the picture. Costs more per second when on. |
shot_typeFacoltativo | string | single | single, multi | single keeps one continuous shot; multi lets the model cut the clip into several shots. |
seedFacoltativo | integer | — | da 0 a 2147483647 | Random seed for controlled comparisons. |
Richiesta di esempio
Questa richiesta funziona così com’è; i campi omessi usano il valore predefinito. Prima salva la tua chiave in 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": "pixverse/v6/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",
"generate_audio": false,
"duration_seconds": 5,
"resolution": "720p"
}
}'La risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.
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
pixverse/v6/image-to-video
Prezzo
| Opzione | USD |
|---|---|
generate_audio = false, resolution = 360p | $0.023 per secondo generato |
generate_audio = false, resolution = 540p | $0.032 per secondo generato |
generate_audio = true, resolution = 360p | $0.032 per secondo generato |
generate_audio = false, resolution = 720p | $0.041 per secondo generato |
generate_audio = true, resolution = 540p | $0.041 per secondo generato |
generate_audio = true, resolution = 720p | $0.054 per secondo generato |
generate_audio = false, resolution = 1080p | $0.081 per secondo generato |
generate_audio = true, resolution = 1080p | $0.104 per secondo generato |
Parametri
| Campo | Tipo | Predefinito | Valori ammessi | A cosa serve |
|---|---|---|---|---|
promptObbligatorio | string | — | fino a 5000 caratteri | What happens after the first frame, or between the first and last frame. |
image_urlObbligatorio | string (uri) | — | — | First frame. JPG, PNG or WebP up to 20 MB; the clip's aspect ratio follows this image. |
last_image_urlFacoltativo | string (uri) | — | — | Optional last frame: the clip moves from the first image to this one. |
resolutionFacoltativo | string | 720p | 360p, 540p, 720p, 1080p | Output resolution. Higher tiers cost more per second. |
duration_secondsFacoltativo | integer | 5 | da 1 a 15 | Clip length in whole seconds, 1 to 15. Billed per second. |
generate_audioFacoltativo | boolean | false | — | Generate sound with the picture. Costs more per second when on. |
shot_typeFacoltativo | string | single | single, multi | single keeps one continuous shot; multi lets the model cut the clip into several shots. |
seedFacoltativo | integer | — | da 0 a 2147483647 | Random seed for controlled comparisons. |
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.
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": "pixverse/v6/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",
"generate_audio": false,
"duration_seconds": 5,
"resolution": "720p"
}
}'La risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Da riferimenti a video
pixverse/v6/reference-to-video
Prezzo
| Opzione | USD |
|---|---|
generate_audio = false, resolution = 360p | $0.023 per secondo generato |
generate_audio = false, resolution = 540p | $0.032 per secondo generato |
generate_audio = true, resolution = 360p | $0.032 per secondo generato |
generate_audio = false, resolution = 720p | $0.041 per secondo generato |
generate_audio = true, resolution = 540p | $0.041 per secondo generato |
generate_audio = true, resolution = 720p | $0.054 per secondo generato |
generate_audio = false, resolution = 1080p | $0.081 per secondo generato |
generate_audio = true, resolution = 1080p | $0.104 per secondo generato |
Parametri
| Campo | Tipo | Predefinito | Valori ammessi | A cosa serve |
|---|---|---|---|---|
promptObbligatorio | string | — | fino a 5000 caratteri | Describe the shot and place each reference with @name. |
elementsObbligatorio | array<object> | — | fino a 7 elementi | One to seven named references. Write @name in the prompt, followed by a space, where each should appear. |
aspect_ratioFacoltativo | string | 16:9 | 16:9, 4:3, 1:1, 3:4, 9:16, 2:3, 3:2, 21:9 | Output aspect ratio. |
resolutionFacoltativo | string | 720p | 360p, 540p, 720p, 1080p | Output resolution. Higher tiers cost more per second. |
duration_secondsFacoltativo | integer | 5 | da 1 a 15 | Clip length in whole seconds, 1 to 15. Billed per second. |
generate_audioFacoltativo | boolean | false | — | Generate sound with the picture. Costs more per second when on. |
seedFacoltativo | integer | — | da 0 a 2147483647 | Random seed for controlled comparisons. |
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 elements. Sostituiscili con i tuoi link HTTPS pubblici, file caricati o asset salvati.
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": "pixverse/v6/reference-to-video",
"input": {
"prompt": "@hero walks along a quiet beach at sunset, smiling at the camera. Slow dolly back.",
"elements": [
{
"image_url": "https://media.popnow.ai/influencer/examples/ava.webp",
"name": "hero",
"role": "subject"
}
],
"generate_audio": false,
"duration_seconds": 5,
"resolution": "720p"
}
}'La risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"Allunga video
pixverse/v6/video-extend
Prezzo
| Opzione | USD |
|---|---|
generate_audio = false, resolution = 360p | $0.023 per secondo generato |
generate_audio = false, resolution = 540p | $0.032 per secondo generato |
generate_audio = true, resolution = 360p | $0.032 per secondo generato |
generate_audio = false, resolution = 720p | $0.041 per secondo generato |
generate_audio = true, resolution = 540p | $0.041 per secondo generato |
generate_audio = true, resolution = 720p | $0.054 per secondo generato |
generate_audio = false, resolution = 1080p | $0.081 per secondo generato |
generate_audio = true, resolution = 1080p | $0.104 per secondo generato |
Parametri
| Campo | Tipo | Predefinito | Valori ammessi | A cosa serve |
|---|---|---|---|---|
promptObbligatorio | string | — | fino a 5000 caratteri | What happens next. |
video_urlObbligatorio | string (uri) | — | — | The clip to continue. The result is this clip followed by the new seconds, in one file. |
resolutionFacoltativo | string | 720p | 360p, 540p, 720p, 1080p | Output resolution. Higher tiers cost more per second. |
duration_secondsFacoltativo | integer | 5 | da 1 a 15 | New seconds to add, 1 to 15. Only these seconds are billed. |
generate_audioFacoltativo | boolean | false | — | Generate sound with the picture. Costs more per second when on. |
seedFacoltativo | integer | — | da 0 a 2147483647 | Random seed for controlled comparisons. |
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.
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": "pixverse/v6/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",
"generate_audio": false,
"duration_seconds": 5,
"resolution": "720p"
}
}'La risposta contiene subito un taskId. Recupera il risultato con GET /api/v1/jobs/recordInfo, oppure aggiungi callBackUrl per ricevere una notifica.
curl "https://api.popnow.ai/api/v1/jobs/recordInfo?taskId=TASK_ID_FROM_CREATE_TASK" \
-H "Authorization: Bearer $POPNOW_API_KEY"
