Dedicated.Image
Image edits
Given an image and a description, the model edits the image.
post/dedicated/v1/images/edits
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
{
"guidance_scale": 0,
"image": "@/path/to/file/image.png",
"model": "(endpoint-id)",
"num_inference_steps": 20,
"prompt": "Add a red sports car in the foreground."
}Response
Successfully edited image(s).
Changes
No recorded changes to this operation across all 1 revision of this API.