
sergeishapovalov/bestmodelmyy
Run sergeishapovalov/bestmodelmyy with an API
Use one of our client libraries to get started quickly. Clicking on a library will take you to the Playground tab where you can tweak different inputs, see the results, and copy the corresponding code to use in your own project.
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 |
---|---|---|---|
prompt |
string
|
Prompt
|
|
width |
integer
|
768
Min: 1 Max: 1280 |
Width of output image
|
height |
integer
|
1280
Min: 1 Max: 1280 |
Height of output image
|
num_outputs |
integer
|
1
Min: 1 Max: 4 |
Number of images to output
|
sampler |
None
|
[Forge] Flux Realistic
|
Sampling method для Flux моделей
|
scheduler |
None
|
Simple
|
Schedule type для Flux моделей
|
num_inference_steps |
integer
|
28
Min: 1 Max: 50 |
Number of denoising steps
|
guidance_scale |
number
|
1
Max: 50 |
CFG Scale (для Flux рекомендуется значение 1.0)
|
distilled_guidance_scale |
number
|
3.5
Max: 30 |
Distilled CFG Scale (основной параметр для Flux, рекомендуется 3.5)
|
seed |
integer
|
-1
|
Random seed. Leave blank to randomize the seed
|
enable_hr |
boolean
|
False
|
Hires. fix
|
hr_upscaler |
None
|
Latent
|
Upscaler for Hires. fix
|
hr_steps |
integer
|
10
Max: 100 |
Inference steps for Hires. fix
|
hr_scale |
number
|
1.5
Min: 1 Max: 4 |
Factor to scale image by
|
denoising_strength |
number
|
0.1
Max: 1 |
Denoising strength. 1.0 corresponds to full destruction of information in init image
|
lora_urls |
array
|
[]
|
Ссылки на LoRA файлы
|
lora_scales |
array
|
[1]
|
Lora scales
|
debug_flux_checkpoint_url |
string
|
|
Flux checkpoint URL
|
enable_clip_l |
boolean
|
False
|
Enable encoder
|
enable_t5xxl_fp16 |
boolean
|
False
|
t5xxl_fp16
|
enable_ae |
boolean
|
False
|
Enable ae
|
enable_live_preview |
boolean
|
True
|
Включить потоковую передачу промежуточных результатов
|
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"default": -1,
"x-order": 9,
"description": "Random seed. Leave blank to randomize the seed"
},
"width": {
"type": "integer",
"title": "Width",
"default": 768,
"maximum": 1280,
"minimum": 1,
"x-order": 1,
"description": "Width of output image"
},
"height": {
"type": "integer",
"title": "Height",
"default": 1280,
"maximum": 1280,
"minimum": 1,
"x-order": 2,
"description": "Height of output image"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Prompt"
},
"sampler": {
"enum": [
"[Forge] Flux Realistic",
"Euler",
"DEIS",
"Euler a",
"DPM++ 2M",
"DPM++ SDE",
"DPM++ 2M SDE",
"DPM++ 2M SDE Karras",
"DPM++ 2M SDE Exponential",
"DPM++ 3M SDE",
"DPM++ 3M SDE Karras",
"DPM++ 3M SDE Exponential"
],
"type": "string",
"title": "sampler",
"description": "Sampling method \u0434\u043b\u044f Flux \u043c\u043e\u0434\u0435\u043b\u0435\u0439",
"default": "[Forge] Flux Realistic",
"x-order": 4
},
"hr_scale": {
"type": "number",
"title": "Hr Scale",
"default": 1.5,
"maximum": 4,
"minimum": 1,
"x-order": 13,
"description": "Factor to scale image by"
},
"hr_steps": {
"type": "integer",
"title": "Hr Steps",
"default": 10,
"maximum": 100,
"minimum": 0,
"x-order": 12,
"description": "Inference steps for Hires. fix"
},
"enable_ae": {
"type": "boolean",
"title": "Enable Ae",
"default": false,
"x-order": 20,
"description": "Enable ae"
},
"enable_hr": {
"type": "boolean",
"title": "Enable Hr",
"default": false,
"x-order": 10,
"description": "Hires. fix"
},
"lora_urls": {
"type": "array",
"items": {
"type": "string"
},
"title": "Lora Urls",
"default": [],
"x-order": 15,
"description": "\u0421\u0441\u044b\u043b\u043a\u0438 \u043d\u0430 LoRA \u0444\u0430\u0439\u043b\u044b"
},
"scheduler": {
"enum": [
"Simple",
"Karras",
"Exponential",
"SGM Uniform",
"SGM Karras",
"SGM Exponential",
"Align Your Steps",
"Align Your Steps 11",
"Align Your Steps 32",
"Align Your Steps GITS",
"KL Optimal",
"Normal",
"DDIM",
"Beta",
"Turbo"
],
"type": "string",
"title": "scheduler",
"description": "Schedule type \u0434\u043b\u044f Flux \u043c\u043e\u0434\u0435\u043b\u0435\u0439",
"default": "Simple",
"x-order": 5
},
"hr_upscaler": {
"enum": [
"Latent",
"Latent (antialiased)",
"Latent (bicubic)",
"Latent (bicubic antialiased)",
"Latent (nearest)",
"Latent (nearest-exact)",
"None",
"Lanczos",
"Nearest",
"ESRGAN_4x",
"LDSR",
"R-ESRGAN 4x+",
"R-ESRGAN 4x+ Anime6B",
"ScuNET GAN",
"ScuNET PSNR",
"SwinIR 4x"
],
"type": "string",
"title": "hr_upscaler",
"description": "Upscaler for Hires. fix",
"default": "Latent",
"x-order": 11
},
"lora_scales": {
"type": "array",
"items": {
"type": "number"
},
"title": "Lora Scales",
"default": [
1
],
"x-order": 16,
"description": "Lora scales"
},
"num_outputs": {
"type": "integer",
"title": "Num Outputs",
"default": 1,
"maximum": 4,
"minimum": 1,
"x-order": 3,
"description": "Number of images to output"
},
"enable_clip_l": {
"type": "boolean",
"title": "Enable Clip L",
"default": false,
"x-order": 18,
"description": "Enable encoder"
},
"guidance_scale": {
"type": "number",
"title": "Guidance Scale",
"default": 1,
"maximum": 50,
"minimum": 0,
"x-order": 7,
"description": "CFG Scale (\u0434\u043b\u044f Flux \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 1.0)"
},
"enable_t5xxl_fp16": {
"type": "boolean",
"title": "Enable T5Xxl Fp16",
"default": false,
"x-order": 19,
"description": "t5xxl_fp16"
},
"denoising_strength": {
"type": "number",
"title": "Denoising Strength",
"default": 0.1,
"maximum": 1,
"minimum": 0,
"x-order": 14,
"description": "Denoising strength. 1.0 corresponds to full destruction of information in init image"
},
"enable_live_preview": {
"type": "boolean",
"title": "Enable Live Preview",
"default": true,
"x-order": 21,
"description": "\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u044c \u043f\u043e\u0442\u043e\u043a\u043e\u0432\u0443\u044e \u043f\u0435\u0440\u0435\u0434\u0430\u0447\u0443 \u043f\u0440\u043e\u043c\u0435\u0436\u0443\u0442\u043e\u0447\u043d\u044b\u0445 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 28,
"maximum": 50,
"minimum": 1,
"x-order": 6,
"description": "Number of denoising steps"
},
"distilled_guidance_scale": {
"type": "number",
"title": "Distilled Guidance Scale",
"default": 3.5,
"maximum": 30,
"minimum": 0,
"x-order": 8,
"description": "Distilled CFG Scale (\u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440 \u0434\u043b\u044f Flux, \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0435\u0442\u0441\u044f 3.5)"
},
"debug_flux_checkpoint_url": {
"type": "string",
"title": "Debug Flux Checkpoint Url",
"default": "",
"x-order": 17,
"description": "Flux checkpoint URL"
}
}
}
Output schema
The shape of the response you’ll get when you run this model with an API.
{
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Output"
}