BevylDevelopers

Create a project

Billed: $2.00 / video

Charged to your prepaid partner balance. See Pricing.
POST
/api/partner/v1/projects

Starts project generation from processed videos and a brief. Poll getProjectStatus or wait for the project.completed webhook.

Authorization

partnerApiKey
headerAuthorizationBearer <token>

Send as Authorization: Bearer bvl_….

Request Body

application/json
  1. body
workspaceId*string

Your ID for the customer workspace.

Length1 <= length
sourceVideoIds*array<>

Processed videos to use, by videoId.

Items1 <= items <= 100
videoIdea*string

What the video is about, in your own words.

Length1 <= length <= 5000
aspectRatio?|

Frame shape. Without it, Bevyl matches the footage and falls back to vertical.

textOverlay?|

On-screen text.

minDuration?number

Shortest target length, in seconds.

Range0 < value
maxDuration?number

Longest target length, in seconds.

Range0 < value
format*string

Keeps the speaker's audio and cuts around it.

backgroundMusicTrackId?|

Music track from listBackgroundMusic.

autoSelectBackgroundMusic?boolean

true lets Bevyl pick a music track that fits the video. Leave out backgroundMusicTrackId when you set it.

Response Body

Project generation started.

application/json
  1. response
ok*boolean
projectId*string
Formatuuid
generation*
curl -X POST 'https://www.bevyl.ai/api/partner/v1/projects' \  -H 'Content-Type: application/json' \  -d '{  "workspaceId": "customer-123",  "sourceVideoIds": [    "45087e3f-0dfe-42fc-ac59-486366441439"  ],  "videoIdea": "A 15-second vertical ad for the truffle burger.",  "format": "talking-head"}'
{  "ok": true,  "projectId": "5a8591dd-4039-49df-9202-96385ba3eff8",  "generation": {    "runId": "78c33d18-170c-44d3-a227-b3194f134f73",    "status": "working",    "statusMessage": "Project generation is in progress.",    "pollIntervalMs": 5000  }}