POST
/
v1
/
video-to-video
curl --request POST \
  --url https://api.magichour.ai/v1/video-to-video \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "Video To Video video",
  "start_seconds": 0,
  "end_seconds": 15,
  "height": 960,
  "width": 512,
  "fps_resolution": "HALF",
  "style": {
    "art_style": "Marble",
    "version": "v1",
    "prompt_type": "default",
    "prompt": "<string>",
    "model": "Dreamshaper"
  },
  "assets": {
    "video_source": "file",
    "video_file_path": "api-assets/id/1234.mp4",
    "youtube_url": "<string>"
  }
}'
{
  "id": "clx7uu86w0a5qp55yxz315r6r",
  "estimated_frame_cost": 450,
  "credits_charged": 450
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Body

The body is of type object.

Response

200
application/json

Success