Open Layo
Browse

Models

List models

On this page
GET/v1/models

NeedsReadNo chargeMCP 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

  • Authorizationstringrequired

    Bearer then the key, with the read scope. A Layo API key, from layo.co/api-keys.

Response

application/json

OK

  • itemsModel[]required

    Show child attributes
    • idstringrequired

      What to send as model. Talking and the flat jobs have their own calls instead.
    • namestringrequired

    • kindenum<string>required

      Available options: videotalkingswaplookimageline

    • inApibooleanrequired

      Whether 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[]required

      Each quality's credits per second. Empty for a job with one flat price.
      Show child attributes
      • idstringrequired

      • creditsPerSecondnumberrequired

        Range: x > 0

    • extraSecondsintegerrequired

      Seconds charged on top of the job's own: a swap costs its clip's seconds plus this.

      Range: x >= 0

    • creditsPerJobnumberrequired

      Added once per job. A job's seconds times its rate, plus this, is rounded up to a whole credit.

      Range: x >= 0

    • durationSecondsobject | nullrequired

      The lengths you can send as durationSeconds: any whole second from min to max. 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 attributes
      • minintegerrequired

        Range: x > 0

      • maxintegerrequired

        Range: x > 0

    • defaultQualitystring | nullrequired

      The quality used when you leave quality out. Null for a job with one flat price.
    • defaultDurationinteger | nullrequired

      The seconds used when you leave durationSeconds out. Null when you can't pick.

      Range: x > 0

    • aspectsstring[]required

      Shapes you can send as aspect; 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.
    • promptMaxintegerrequired

      The longest prompt it takes, in characters.

      Range: x >= 0

    • imagesintegerrequired

      Reference images the model takes: an image model's images, a video model's on layo.co beside the influencer's look.

      Range: x >= 0

    • outputsintegerrequired

      How many files one request makes, for one price: an image model or a look that makes two to choose from says 2.

      Range: x > 0

    • clipSecondsobject | nullrequired

      The length of clip the model takes on layo.co, if it takes one.
      Show child attributes
      • minnumberrequired

      • maxnumberrequired

    • framesobject | nullrequired

      Whether it takes a start_frame in medias: a picture the video starts on. Null when it doesn't.
      Show child attributes
      • endbooleanrequired

        Whether it also takes an end_frame in medias.