Open Layo
Browse

Prices

Price an influencer

On this page
POST/v1/prices/influencers

NeedsGenerateNo chargeMCP toolget_influencer_price

What a new influencer's first look costs and what the workspace can spend. Nothing is charged.

Authorization

  • Authorizationstringrequired

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

Body

  • promptstringrequired

    Who they are and how they look.

    Range: 1 <= length

  • photosobject[]

    Photos of the person, by link. In ChatGPT, the photos the person attached. Up to 8 photos in all, with photoIds.

    Range: items <= 8

    Show child attributes
    • download_urlstring<uri>required

      A public https link to a JPEG, PNG or WebP photo. Layo fetches it once, when the request is made; a price read doesn't fetch it.

      Range: length <= 4096

    • file_idstringrequired

      Your name for this photo. Send the same one when you repeat a request: it's how a repeat knows the photo, even if the link changed.

      Range: 1 <= length <= 200

    • mime_typestring

      Ignored: Layo reads the format from the file.

      Range: length <= 100

    • file_namestring

      Ignored.

      Range: length <= 255

  • photoIdsstring<uuid>[]

    Photos you uploaded with create_upload and complete_upload. Up to 8 in all, with photos.

    Range: items <= 8

Response

application/json

OK

  • creditsnumberrequired

    What this costs, from the rate card.

    Range: x >= 0

  • balancenumberrequired

    Credits the workspace can spend now. Negative while it owes credits.
  • photosintegerrequired

    How many of the person's photos the look would be made from. 0: from the description alone.

    Range: x >= 0