Image Generation

Generate Gallery Image

Creates a personalized gallery-style image based on an identity image and a descriptive prompt.

It is ideal for generating visually appealing images with particular human identity that align with specific themes or contexts, making it suitable for applications like personalized marketing, content creation, and more.

post/image/v1/generate_gallery_image

Headers

X-Request-Idstring

Request body

identity_image_b64string required

Human appearance to generate image with as Base64 string.

promptstring required

Text prompt describing an image to generate.

model_name'persona-2' | 'persona-3'

Model to use for image generation.

style'realistic' | 'anime'

Artistic style for generating the gallery image. If not specified, the style is automatically detected based on the identity image.

nsfw_policy'filter' | 'allow'

Policy for handling NSFW content.

Example request

{
  "prompt": "on the beach during sunset, smiling and holding a surfboard"
}

Response

Successful Response

image_b64string required

Image encoded in Base64 format

contains_nsfwboolean required

Flag indicating if the image contains NSFW content

Changes

No recorded changes to this endpoint across all 1 revision of this API.