Saltar al cuntegna

PixVerse Extend

Integrar

ID dal model pixverse/extend
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/pixverse/extend?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Datotecas sco l'exempel: $0,20 200 credits API tias datotecas vegnan mesiradas avant l'execuziun Lantschar sin questa pagina

Obtegna ina clav API
PixVerse Video a video Audio nativ5–8 sfin a 1080p #utility#editing

Cuntinuescha in video existent per 5 u 8 secundas dad in prompt, cun preselecziuns da stil e tscherna da versiun dal model

PixVerse · Video

Tes emprim resultat vegn qua

Construis ina dumonda sutvart e l'exequescha cun tia clav API. Outputs vegnan copiads en nossa memorisaziun, conservads per adina u 7 dis gratuitamain.

Construir ina dumonda

Ils controls vegnan generads dal schema dal model. Il code e ​​il pretsch s'actualiseschan durant che ti als midas.

•obligatori

Prompt che specifitgescha il prolungament giavischà dal video.

•obligatori video_url
Trametta in datoteca u

URL dal video che vegn prolungà.

duration 5 s

Durada dal video, cun in maximum da 5 secundas per output 1080p; inditga la lunghezza en secundas.

resolution standard 720p

Resoluziun dal video d'output.

Avanzà negative_prompt · style · model · seed · generate_audio
standard

Prompt negativ applitgà durant la generaziun.

style

Stil visual per il prolungament dal video.

model standard v4.5

Versiun dal model utilisada per la generaziun.

Seed che controlla la casualitad durant la generaziun.

POST /run/pixverse/extend?wait=20 calculaziun → $0,20
# Run the model; wait up to 20 s for the finished result in the same call
curl -X POST "https://api.doitong.com/v1/run/pixverse/extend?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "video": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  }'

# Still "queued" or "running"? Poll with the id from the response:
curl "https://api.doitong.com/v1/requests/REQUEST_ID?wait=20" \
  -H "Authorization: Bearer $DOITONG_API_KEY"

Executar questa dumonda

Tia clav resta en quest browser: ella vegn tramessa mo al Doitong API e memorisada (localStorage) mo sch'ella scheccas Tiar a memoria. Obtegnair ina clav API

Davart PixVerse Extend

Prolungescha ina sequenza inditgada sco `video_url`, guidada d'in `prompt` e d'in `negative_prompt` opziunal. `duration` è 5 u 8 secundas, cun 1080p limità a 5. `resolution` va da 360p to 1080p, e `style` porscha anime, 3d_animation, clay, comic u cyberpunk. `model` tscherna v3.5 to v6, e la generaziun d'audio è disponibla a partir da v5.6.

Parameters

Invia u il num canonic u il num nativ, betg omaduas. Nums canonics

NumTip StandardPermess Descripziun
video_urlobligatori video
Tipurl · video
URL dal video che vegn prolungà.
promptobligatori
Tipstring
Prompt che specifitgescha il prolungament giavischà dal video.
negative_promptopziunal
Tipstring
Standard
Prompt negativ applitgà durant la generaziun.
styleopziunal
Tipenum
anime3d_animationclaycomiccyberpunk
Stil visual per il prolungament dal video.
resolutionopziunal
Tipenum
Standard720p
360p540p720p1080p
Resoluziun dal video d'output.
durationopziunal
Tipenum
Standard5
58
Durada dal video, cun in maximum da 5 secundas per output 1080p; inditga la lunghezza en secundas.
modelopziunal
Tipenum
Standardv4.5
v3.5v4v4.5v5v5.5v5.6v6
Versiun dal model utilisada per la generaziun.
seedopziunal
Tipinteger | null
Seed che controlla la casualitad durant la generaziun.
generate_audio_switchopziunal generate_audio
Tipboolean
Standardfalse
Activaziun da la generaziun d'audio per musica da fund, effects sonors e dialog. Disponibel per models v5.6 e pli novs.
obligatori Num canonic, er acceptà

Ils parameters da datotecas acceptan ina URL publica https://, ina URI data: fin a 10 MB u il file_url d'ina chargiada. Datotecas

Output

GET /requests/req_8k2m4q7x1z9c3v5b6n0p2r4t
{
  "id": "req_8k2m4q7x1z9c3v5b6n0p2r4t",
  "object": "request",
  "model": "pixverse/extend",
  "status": "succeeded",
  "created_at": "2026-10-20T12:00:00Z",
  "started_at": "2026-10-20T12:00:02Z",
  "completed_at": "2026-10-20T12:00:09Z",
  "queue_position": null,
  "cost": {
    "credits": 200,
    "usd": "0.20",
    "charged": 200,
    "refunded": 0
  },
  "input": {
    "video_url": "https://content.doitong.com/video/showcase/v3/gen_fox_cartoon.mp4",
    "prompt": "A red fox trots through fresh snow at sunrise, soft golden light, shallow depth of field"
  },
  "output": {
    "video": {
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_name": "0-output.mp4",
      "file_size": 1843200
    }
  },
  "outputs": [
    {
      "type": "video",
      "url": "https://content.doitong.com/dev-api/2026/10/20/req_8k2m4q7x1z9c3v5b6n0p2r4t/0-output.mp4",
      "content_type": "video/mp4",
      "file_size": 1843200,
      "width": 1280,
      "height": 720,
      "duration": 5,
      "stored": true
    }
  ],
  "error": null,
  "metrics": {
    "inference_seconds": 6.8
  },
  "urls": {
    "self": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t",
    "cancel": "https://api.doitong.com/v1/requests/req_8k2m4q7x1z9c3v5b6n0p2r4t/cancel"
  }
}
Tias datotecas, tia decisiunMintga outputs[].url è ina copia en nossa memorisaziun: conservada per adina (pajà per GB-mes) u 7 dis gratuitamain, tenor la configuraziun dal conto u ?storage=.
La medema structura per mintga modeltype, url, content_type, width, height e duration, tant per maletgs sco per video e audio. output è l'object da resultat dal model sez.
Champs da l'output
video
object {url, content_type, file_name, file_size}Video produci cun prolungar l'input.

Dapli models: Video a video

Per agents AI: questa pagina sco Markdown è disponibla sut https://doitong.com/rm/developers/models/pixverse/extend.md. Tut ils models e las guidas: https://doitong.com/developers/llms.txt