Skip to main content

Overview

A text-to-image model with support for native high-resolution (2K) image generation.
  • Output Type: image
  • Estimated Cost: 5 credits
  • Handler: replicate

Parameters

Required Parameters

prompt
string
required
Text prompt for image generation
  • Label: Prompt

Optional Parameters

aspect_ratio
string
default:"16:9"
Aspect ratio for the generated image
  • Label: Aspect ratio
  • Options: 1:1, 16:9, 4:3, 3:4, 9:16, 21:9, 9:21, custom
size
string
default:"regular"
Size of the generated image
Small: 512px, Regular: 1 megapixel, Big: 2048px longest dimension
  • Label: Size
  • Options: small, regular, big
width
integer
Width of the generated image in pixels
Only used when aspect_ratio is set to “custom”
  • Label: Width
  • Minimum: 512
  • Maximum: 2048
height
integer
Height of the generated image in pixels
Only used when aspect_ratio is set to “custom”
  • Label: Height
  • Minimum: 512
  • Maximum: 2048
guidance_scale
float
default:2.5
Controls how closely the model follows the prompt
Higher values mean stricter adherence to the prompt
  • Label: Guidance scale
  • Minimum: 1
  • Maximum: 10
seed
integer
default:"random"
Random seed for reproducible generation
  • Label: Seed
  • Minimum: 0
  • Maximum: 2147483647
I