POST /generate-video/extend

Changed on

Extend a Midjourney video using a task-based flow (taskId + index).

Request

  • Base URL
    https://api.nano-gpt.com/api
  • URL
    https://api.nano-gpt.com/api/generate-video/extend
  • Auth
    API key in header x-api-key

Request body

taskIdstring required

Run ID from the original Midjourney video request.

indexinteger required

Zero-based index of the Midjourney video to extend (0-3).

Example request

{
  "taskId": "vid_m1abc123def456",
  "index": 0
}

Response

Video extension request submitted successfully (asynchronous processing)

runIdstring required

Unique identifier for the video generation request

projectIdstring

Project identifier (for LongStories models)

status'pending' | 'processing' | 'completed' | 'failed' required

Current status of the generation

modelstring required

The model used for generation

seedinteger

The seed NanoGPT sent to the provider, returned for models with returned seeds. Send it back as seed to request the same seed again; identical output is not guaranteed.

costnumber

Cost of the video generation

paymentSourcestring

Payment source used (USD or XNO)

remainingBalancenumber

Remaining balance after the generation

prechargeLabelstring

Provider label for the precharge

Changes