Container.Image
Image edits
Given an image and a description, the model edits the image.
post/v1/images/edits
Request
- Base URLhttp://localhost:8000
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"guidance_scale": 0,
"image": "@/path/to/file/image.png",
"num_inference_steps": 20,
"prompt": "Add a red sports car in the foreground."
}Response
Successfully edited image.
Changes
No recorded changes to this operation across all 1 revision of this API.