Prices
Price an influencer
On this page
POST
/v1/prices/influencersNeedsGenerateMCP toolget_influencer_price
What a new influencer's first look costs and what the workspace can spend. Nothing is charged.
Authorization
AuthorizationstringrequiredBearerthen the key, with thegeneratescope. A Layo API key, from layo.co/api-keys.
Body
promptstringrequiredWho they are and how they look.Range:
1 <= lengthphotosobject[]Photos of the person, by link. In ChatGPT, the photos the person attached. Up to 8 photos in all, withphotoIds.Range:
items <= 8Show child attributesHide child attributes
download_urlstring<uri>requiredA 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 <= 4096file_idstringrequiredYour 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 <= 200mime_typestringIgnored: Layo reads the format from the file.Range:
length <= 100file_namestringIgnored.Range:
length <= 255
photoIdsstring<uuid>[]Photos you uploaded with create_upload and complete_upload. Up to 8 in all, withphotos.Range:
items <= 8
Response
application/jsonOK
creditsnumberrequiredWhat this costs, from the rate card.Range:
x >= 0balancenumberrequiredCredits the workspace can spend now. Negative while it owes credits.photosintegerrequiredHow many of the person's photos the look would be made from. 0: from the description alone.Range:
x >= 0