Overview
ByteDance’s advanced text-to-image modelgeneration- Output Type: image
- Estimated Cost: 4 credits
- Handler: replicate
Parameters
Required Parameters
string
required
Text prompt for image generation
- Label: Prompt
Optional Parameters
string
default:"2K"
Image resolution preset
- Label: Size
- Options:
1K,2K,4K,custom
integer
default:2048
Custom image width in pixels (only used when size is ‘custom’)
- Label: Width
- Minimum: 1024
- Maximum: 4096
integer
default:2048
Custom image height in pixels (only used when size is ‘custom’)
- Label: Height
- Minimum: 1024
- Maximum: 4096
string
default:"match_input_image"
Aspect ratio for the generated image
- Label: Aspect ratio
- Options:
match_input_image,1:1,4:3,3:4,16:9,9:16,3:2,2:3,21:9
array<image>
Optional input image(s) to use as references
- Label: Input images
integer
default:1
Maximum number of images to generate when sequential generation is enabled
- Label: Number of images
- Minimum: 1
- Maximum: 15
string
default:"disabled"
Group image generation mode
- Label: Sequential generation
- Options:
disabled,auto

