Skip to main content
POST
/
vendors
/
midjourney
/
v1
/
tob
/
video-diffusion
Text/Image to Video
curl --request POST \
  --url https://api.mulerun.com/vendors/midjourney/v1/tob/video-diffusion \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "prompt": "https://upload.wikimedia.org/wikipedia/commons/e/e7/Everest_North_Face_toward_Base_Camp_Tibet_Luca_Galuzzi_2006.jpg A beautiful sunset over the mountains",
  "video_type": 0
}'
{
  "task_info": {
    "id": "8e1e315e-b50d-4334-a231-be7d19a372f4",
    "status": "pending",
    "created_at": "2025-09-21T00:00:00.000Z",
    "updated_at": "2025-09-21T00:00:00.000Z"
  }
}
The prompt parameter is compatible with Midjourney’s format. Please refer to Midjourney’s official documentation for more details.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Image to Video generation request body

prompt
string
required

Prompt for video generation. Must be between 1 and 8192 characters. Must start with an Image URL or Base64 encoded image string.

Required string length: 1 - 8192
video_type
integer
default:0

Video quality option provided by upstream service

0: Standard quality 1: High quality

Required range: 0 <= x <= 1

Response

202 - application/json

Task accepted and queued for processing

task_info
object
required