POST
/
image
/
generate

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
model
string
required

The model ID to use for generation

prompt
string
required

The description or prompt for the image

Maximum length: 1500
cfg_scale
number

CFG scale parameter

height
number
default:
1024

Height of the generated image

hide_watermark
boolean
default:
false

Whether to hide the watermark

negative_prompt
string

Negative prompt for generation

Maximum length: 1500
return_binary
boolean
default:
false

Whether to return binary image data instead of base64

safe_mode
boolean
default:
false

Enable safe venice mode. Adult content will be returned blurred and the x-venice-is-blurred header will be set to true.

seed
number

Random seed for generation

steps
number
default:
30

Number of inference steps

Required range: x < 50
style_preset
enum<string>

Style preset to use

Available options:
3D Model,
Analog Film,
Anime,
Cinematic,
Comic Book,
Craft Clay,
Digital Art,
Enhance,
Fantasy Art,
Isometric Style,
Line Art,
Lowpoly,
Neon Punk,
Origami,
Photographic,
Pixel Art,
Texture,
Advertising,
Food Photography,
Real Estate,
Abstract,
Cubist,
Graffiti,
Hyperrealism,
Impressionist,
Pointillism,
Pop Art,
Psychedelic,
Renaissance,
Steampunk,
Surrealist,
Typography,
Watercolor,
Fighting Game,
GTA,
Super Mario,
Minecraft,
Pokemon,
Retro Arcade,
Retro Game,
RPG Fantasy Game,
Strategy Game,
Street Fighter,
Legend of Zelda,
Architectural,
Disco,
Dreamscape,
Dystopian,
Fairy Tale,
Gothic,
Grunge,
Horror,
Minimalist,
Monochrome,
Nautical,
Space,
Stained Glass,
Techwear Fashion,
Tribal,
Zentangle,
Collage,
Flat Papercut,
Kirigami,
Paper Mache,
Paper Quilling,
Papercut Collage,
Papercut Shadow Box,
Stacked Papercut,
Thick Layered Papercut,
Alien,
Film Noir,
HDR,
Long Exposure,
Neon Noir,
Silhouette,
Tilt-Shift
width
number
default:
1024

Width of the generated image

Response

200 - application/json
images
string[]
request
string

Base64 encoded request data

timing
object

Inference timing information