films

Write a film plan and quote its price

Turns one sentence into a script: title, cast, scenes and dialogue, with the price of making it. Free to call. The plan is kept for 24 hours; pass its plan_id to POST /v1/films to make the film.

post/v1/films/plan

Request

  • Base URL: https://api.corent.tech (the document declares no server; this is the origin it was published from)
  • URL: https://api.corent.tech/v1/films/plan
  • Auth: HTTP bearer

Request body

duration_sinteger

Length of the finished film, 10 to 120 seconds.

aspect_ratio'16:9' | '9:16' | '1:1'

Frame shape.

resolution'720p' | '1080p'

Output resolution. 1080p costs about 2.25 times more.

languagestring nullable

Language for the dialogue. Defaults to the brief's language.

customer_idstring nullable

Optional tag for YOUR end user, so you can attribute spend: 1 to 128 characters from A-Z a-z 0-9 . _ : @ -. Stored on the job, returned on receipts, and filterable with GET /v1/account/usage?customer_id=...

briefstring required

What the film is about, in your own words.

Example request

{
  "aspect_ratio": "16:9",
  "brief": "A 50 second parody of five friends starting a startup who know nothing, except that the AI part was the easiest because they got the API to Corent",
  "duration_s": 50,
  "resolution": "720p"
}

Response

Successful Response

plan_idstring required
titlestring required
loglinestring required
stylestring required
total_duration_sinteger required
estimated_cost_centsinteger required
expires_atstring required

Changes

No recorded changes to this operation across all 1 revision of this API.