Dedicated.Image
Image generations
Given a description, the model generates image(s).
post/dedicated/v1/images/generations
Request
- Base URLhttps://api.friendli.ai
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Friendli-Teamstring nullable
ID of team to run requests as (optional parameter).
Request body
Example request
{
"model": "(endpoint-id)",
"num_inference_steps": 10,
"prompt": "An orange Lamborghini driving down a hill road at night with a beautiful ocean view in the background."
}Response
Successfully generated image(s).
Changes
No recorded changes to this operation across all 1 revision of this API.