Models
List models
On this page
/v1/modelsNeedsReadMCP toollist_models
What Layo can make, what each model can do, and its rates from the rate card. A job's seconds times its rate, plus creditsPerJob, is rounded up to a whole credit. For a spoken video, ask for the price: it depends on the line.
Authorization
AuthorizationstringrequiredBearerthen the key, with thereadscope. A Layo API key, from layo.co/api-keys.
Response
application/jsonOK
itemsModel[]requiredShow child attributesHide child attributes
idstringrequiredWhat to send asmodel. Talking and the flat jobs have their own calls instead.namestringrequiredkindenum<string>requiredAvailable options:
videotalkingswaplookimagelineinApibooleanrequiredWhether this API can start it. A swap needs a clip, which the API doesn't upload yet; a spoken line is made with its video.qualitiesobject[]requiredEach quality's credits per second. Empty for a job with one flat price.Show child attributesHide child attributes
idstringrequiredcreditsPerSecondnumberrequiredRange:
x > 0
extraSecondsintegerrequiredSeconds charged on top of the job's own: a swap costs its clip's seconds plus this.Range:
x >= 0creditsPerJobnumberrequiredAdded once per job. A job's seconds times its rate, plus this, is rounded up to a whole credit.Range:
x >= 0durationSecondsobject | nullrequiredThe lengths you can send asdurationSeconds: any whole second frommintomax. Null when you can't pick: a spoken video is as long as its line, and a swap as long as its clip.Show child attributesHide child attributes
minintegerrequiredRange:
x > 0maxintegerrequiredRange:
x > 0
defaultQualitystring | nullrequiredThe quality used when you leavequalityout. Null for a job with one flat price.defaultDurationinteger | nullrequiredThe seconds used when you leavedurationSecondsout. Null when you can't pick.Range:
x > 0aspectsstring[]requiredShapes you can send asaspect; leave it out for 9:16 on a video, the first on an image. Empty when you can't pick: a swap keeps its clip's.promptMaxintegerrequiredThe longest prompt it takes, in characters.Range:
x >= 0imagesintegerrequiredReference images the model takes: an image model'simages, a video model's on layo.co beside the influencer's look.Range:
x >= 0outputsintegerrequiredHow many files one request makes, for one price: an image model or a look that makes two to choose from says 2.Range:
x > 0clipSecondsobject | nullrequiredThe length of clip the model takes on layo.co, if it takes one.Show child attributesHide child attributes
minnumberrequiredmaxnumberrequired
framesobject | nullrequiredWhether it takes astart_frameinmedias: a picture the video starts on. Null when it doesn't.Show child attributesHide child attributes
endbooleanrequiredWhether it also takes anend_frameinmedias.