Txt2ImgApiTaskArgs: {
    alwayson_scripts?: Record<string, any>;
    batch_size?: number;
    callback_url?: string;
    cfg_scale?: number;
    checkpoint?: string;
    comments?: Record<string, any>;
    denoising_strength?: number;
    disable_extra_networks?: boolean;
    do_not_save_grid?: boolean;
    do_not_save_samples?: boolean;
    enable_hr?: boolean;
    eta?: number;
    firstphase_height?: number;
    firstphase_width?: number;
    height?: number;
    hr_checkpoint_name?: string;
    hr_negative_prompt?: string;
    hr_prompt?: string;
    hr_resize_x?: number;
    hr_resize_y?: number;
    hr_sampler_name?: string;
    hr_scale?: number;
    hr_second_pass_steps?: number;
    hr_upscaler?: string;
    n_iter?: number;
    negative_prompt?: string;
    override_settings?: Record<string, any>;
    override_settings_restore_afterwards?: boolean;
    prompt?: string;
    refiner_checkpoint?: string;
    refiner_switch_at?: number;
    restore_faces?: boolean;
    s_churn?: number;
    s_min_uncond?: number;
    s_noise?: number;
    s_tmax?: number;
    s_tmin?: number;
    sampler_name?: string;
    script_args?: any[];
    script_name?: string;
    seed?: number;
    seed_resize_from_h?: number;
    seed_resize_from_w?: number;
    steps?: number;
    styles?: string[];
    subseed?: number;
    subseed_strength?: number;
    tiling?: boolean;
    vae?: string;
    width?: number;
}

Type declaration

  • Optional alwayson_scripts?: Record<string, any>
  • Optional batch_size?: number
  • Optional callback_url?: string

    The callback URL to send the result to.

  • Optional cfg_scale?: number
  • Optional checkpoint?: string

    Custom checkpoint hash. If not specified, the latest checkpoint will be used.

  • Optional comments?: Record<string, any>
  • Optional denoising_strength?: number
  • Optional disable_extra_networks?: boolean
  • Optional do_not_save_grid?: boolean
  • Optional do_not_save_samples?: boolean
  • Optional enable_hr?: boolean
  • Optional eta?: number
  • Optional firstphase_height?: number
  • Optional firstphase_width?: number
  • Optional height?: number
  • Optional hr_checkpoint_name?: string
  • Optional hr_negative_prompt?: string
  • Optional hr_prompt?: string
  • Optional hr_resize_x?: number
  • Optional hr_resize_y?: number
  • Optional hr_sampler_name?: string
  • Optional hr_scale?: number
  • Optional hr_second_pass_steps?: number
  • Optional hr_upscaler?: string
  • Optional n_iter?: number
  • Optional negative_prompt?: string
  • Optional override_settings?: Record<string, any>
  • Optional override_settings_restore_afterwards?: boolean
  • Optional prompt?: string
  • Optional refiner_checkpoint?: string
  • Optional refiner_switch_at?: number
  • Optional restore_faces?: boolean
  • Optional s_churn?: number
  • Optional s_min_uncond?: number
  • Optional s_noise?: number
  • Optional s_tmax?: number
  • Optional s_tmin?: number
  • Optional sampler_name?: string
  • Optional script_args?: any[]
  • Optional script_name?: string
  • Optional seed?: number
  • Optional seed_resize_from_h?: number
  • Optional seed_resize_from_w?: number
  • Optional steps?: number
  • Optional styles?: string[]
  • Optional subseed?: number
  • Optional subseed_strength?: number
  • Optional tiling?: boolean
  • Optional vae?: string

    Custom VAE. If not specified, the current VAE will be used.

  • Optional width?: number