Studio
Edit
Edit images based on a text prompt.
Provide input images (base64 or public URL) and a prompt describing the desired edit. Returns base64 images or signed download URLs.
post/v2/phota/edit
Request
- Base URLhttps://api.photalabs.com
- AuthAPI key in header X-API-Key
Request body
Example request
{
"images": [
"iVBORw0KGgo...",
"https://example.com/photo.jpg"
],
"num_output_images": 2,
"profile_ids": [
"abc123",
"def456"
],
"prompt": "Turn [[def456]] into a vampire"
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.