Usage Guide
- Provide the original video taskId and index to continue from the generated result
- Choose between manual extension (with prompt) or automatic extension
- Use prompt to guide how the video should continue while keeping consistency
- Optional callback is supported
Parameter Details
promptrequired for manual extension, describes what should happen nexttaskTypeextension mode:mj_video_extend_manualormj_video_extend_autotaskIdidentifies the original MJ video record to extendindexvideo index from the original record to extendcallBackUrlcallback URL for receiving completion updateswaterMarkvideo watermark, optional
Developer Notes
- Extended videos are stored for 15 days before automatic deletion
- Extension maintains the same aspect ratio and style as the original video
- Manual extension requires a prompt, automatic extension uses AI-generated continuation
Authorizations
All APIs require authentication via Bearer Token.
Get API Key:
- Visit API Key Management Page to get your API Key
Usage: Add to request header: Authorization: Bearer YOUR_API_KEY
Note:
- Keep your API Key secure and do not share it with others
- If you suspect your API Key has been compromised, reset it immediately in the management page
Body
Continuation prompt describing what should happen next in the video. Required for manual extension. Max length: 2000 characters
"Continue the scene with the spacecraft accelerating into a colorful nebula with dynamic light trails"
Extension type for video generation mode.
- mj_video_extend_manual: Manual extension with custom prompt
- mj_video_extend_auto: Automatic extension using AI-generated continuation
mj_video_extend_manual, mj_video_extend_auto "mj_video_extend_manual"
Task ID of the original MJ video record to extend
"ee603959-debb-48d1-98c4-a6d1c717eba6"
Video index from the original record to extend
0
Video watermark, optional
"my_watermark"
Callback URL to receive extension completion updates. Optional but recommended in production.
- System will POST task status and results to this URL upon completion
- Alternatively, use the Get Midjourney Task Details endpoint to poll status
š Detailed callback format: See Midjourney Video Extension Callbacks
"https://api.example.com/callback"
Response
Request successful
Response status code
- 200: Success - Request has been processed successfully
- 400: Bad Request - Invalid request parameters
- 401: Unauthorized - Authentication credentials are missing or invalid
- 402: Insufficient Credits - Account does not have enough credits to perform the operation
- 404: Not Found - The requested resource or endpoint does not exist
- 422: Validation Error - The request parameters failed validation checks
- 429: Rate Limited - Request limit has been exceeded for this resource
- 455: Service Unavailable - System is currently undergoing maintenance
- 500: Server Error - An unexpected error occurred while processing the request
- 501: Generation Failed - Video extension task failed
- 505: Feature Disabled - The requested feature is currently disabled
200, 400, 401, 402, 404, 422, 429, 455, 500, 501, 505 Response message
"success"
