Skip to main content
POST
/
videos
Generate a premium video clip
curl --request POST \
  --url https://api.neuraldraft.io/v1/videos \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "prompt": "<string>",
  "aspect_ratio": "9:16",
  "duration_seconds": 5,
  "visual_style": "<string>",
  "platforms": [
    "facebook"
  ]
}
'
{
  "data": {
    "id": "job_2Ngd9KqLmRpW",
    "type": "blog_post.generate",
    "status": "pending",
    "created_at": "2023-11-07T05:31:56Z",
    "progress": 50,
    "message": "<string>",
    "steps": [
      {
        "name": "<string>",
        "completed": true,
        "active": true
      }
    ],
    "result": {},
    "error": {
      "code": "upstream_unavailable",
      "message": "<string>"
    },
    "updated_at": "2023-11-07T05:31:56Z"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.neuraldraft.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Project API key. Pass as Authorization: Bearer ndsk_live_.... Manage keys via /projects/me/api-keys. Test-mode keys use the ndsk_test_ prefix.

Body

application/json
prompt
string
required

What the video should show. Use visual / cinematic language: action verbs, camera movement, mood.

Required string length: 3 - 2000
aspect_ratio
enum<string>
default:9:16
Available options:
1:1,
16:9,
9:16,
4:3,
3:4,
3:2,
2:3
duration_seconds
integer
default:5
Required range: 3 <= x <= 30
visual_style
string
Maximum string length: 200
platforms
enum<string>[]
Available options:
facebook,
instagram,
twitter,
tiktok,
linkedin

Response

Job queued.

data
object