You're looking at a specific version of this model. Jump to the model overview.

goodguy1963 /hidream-l1-full-img2img:7820b5b8

Input schema

The fields you can use to run this model with an API. If you don’t give a value for a field its default value will be used.

Field Type Default value Description
image
string
Input image file (required)
use_florence2
boolean
True
Use Florence2 for automatic caption generation
prompt_prefix
string
Photo
With Florence2: Prefix to add to generated caption. Without Florence2: Complete prompt to use
florence2_text_input
string
Optional text input for Florence2 (only used when Florence2 is enabled)
florence2_task
string (enum)
prompt_gen_mixed_caption_plus

Options:

prompt_gen_mixed_caption_plus, prompt_gen_sd, prompt_gen_sdxl, mixed_caption, mixed_caption_plus

Florence2 task to perform
negative_prompt
string
bad ugly jpeg artifacts
Negative prompt to guide the model away from certain elements
model_variant
string (enum)
full

Options:

full, dev

HiDream model variant to use
seed
integer
42
Random seed
steps
integer
50

Min: 1

Max: 100

Number of inference steps
cfg
number
5.54

Min: 1

Max: 20

Guidance scale
denoise
number
0.6

Max: 1

Denoising strength
shift
number
3

Max: 20

ModelSamplingSD3 shift parameter (0-20)
sampler_name
string (enum)
uni_pc

Options:

euler, euler_ancestral, heun, dpm_2, dpm_2_ancestral, lms, dpm_fast, dpm_adaptive, dpmpp_2s_ancestral, dpmpp_sde, dpmpp_sde_gpu, dpmpp_2m, dpmpp_2m_sde, dpmpp_2m_sde_gpu, dpmpp_3m_sde, dpmpp_3m_sde_gpu, ddpm, ddim, uni_pc, lcm, ddim_v3, euler_v2

Sampling algorithm to use
scheduler
string (enum)
normal

Options:

normal, karras, exponential, sgm_uniform, simple, ddim_uniform, linear_quadratic, kl_optimal

Scheduler for the sampler

Output schema

The shape of the response you’ll get when you run this model with an API.

Schema
{'items': {'format': 'uri', 'type': 'string'},
 'title': 'Output',
 'type': 'array'}