Studio
Generate
Generate images from a text prompt without input images.
Provide a prompt describing the desired image. Returns base64 images or signed download URLs.
post/v2/phota/generate
Request
- Base URLhttps://api.photalabs.com
- AuthAPI key in header X-API-Key
Request body
Example request
{
"num_output_images": 1,
"prompt": "Generate a photo of [[abc123]] on a tropical beach"
}Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.