API Schema
Introduction
This reference provides comprehensive API schema documentation for all BabySea features. Each schema defines the complete parameter structure, data types, validation rules, and available options for image generation and editing operations in JSON Schema format.
Horizon
- Explorer
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 4,
"description": "Random seed. Set for reproducible generation"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Prompt for generated image"
},
"go_fast": {
"type": "boolean",
"title": "Go Fast",
"default": true,
"x-order": 8,
"description": "Run faster predictions with model optimized for speed (currently fp8 quantized); disable to run in original bf16. Note that outputs will not be deterministic when this is enabled, even if you set a seed."
},
"megapixels": {
"enum": [
"1",
"0.25"
],
"type": "string",
"title": "megapixels",
"description": "Approximate number of megapixels for generated image",
"default": "1",
"x-order": 9
},
"num_outputs": {
"type": "integer",
"title": "Num Outputs",
"default": 1,
"maximum": 4,
"minimum": 1,
"x-order": 2,
"description": "Number of outputs to generate"
},
"aspect_ratio": {
"enum": [
"1:1",
"16:9",
"21:9",
"3:2",
"2:3",
"4:5",
"5:4",
"3:4",
"4:3",
"9:16",
"9:21"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio for the generated image",
"default": "1:1",
"x-order": 1
},
"output_format": {
"enum": [
"webp",
"jpg",
"png"
],
"type": "string",
"title": "output_format",
"description": "Format of the output images",
"default": "webp",
"x-order": 5
},
"output_quality": {
"type": "integer",
"title": "Output Quality",
"default": 80,
"maximum": 100,
"minimum": 0,
"x-order": 6,
"description": "Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 4,
"maximum": 4,
"minimum": 1,
"x-order": 3,
"description": "Number of denoising steps. 4 is recommended, and lower number of steps produce lower quality outputs, faster."
},
"disable_safety_checker": {
"type": "boolean",
"title": "Disable Safety Checker",
"default": false,
"x-order": 7,
"description": "Disable safety checker for generated images."
}
}
}
Maker
- FreeContext
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "A text description of the image you want to generate"
},
"image_input": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"title": "Image Input",
"default": [],
"x-order": 1,
"description": "Input images to transform or use as reference (supports multiple images)"
},
"aspect_ratio": {
"enum": [
"match_input_image",
"1:1",
"2:3",
"3:2",
"3:4",
"4:3",
"4:5",
"5:4",
"9:16",
"16:9",
"21:9"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio of the generated image",
"default": "match_input_image",
"x-order": 2
},
"output_format": {
"enum": [
"jpg",
"png"
],
"type": "string",
"title": "output_format",
"description": "Format of the output image",
"default": "jpg",
"x-order": 3
}
}
}
Persona
- FreeStyle
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Text prompt for image generation"
},
"aspect_ratio": {
"enum": [
"1:1",
"9:16",
"16:9",
"3:4",
"4:3"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio of the generated image",
"default": "1:1",
"x-order": 1
},
"output_format": {
"enum": [
"jpg",
"png"
],
"type": "string",
"title": "output_format",
"description": "Format of the output image",
"default": "jpg",
"x-order": 3
},
"safety_filter_level": {
"enum": [
"block_low_and_above",
"block_medium_and_above",
"block_only_high"
],
"type": "string",
"title": "safety_filter_level",
"description": "block_low_and_above is strictest, block_medium_and_above blocks some prompts, block_only_high is most permissive but some prompts will still be blocked",
"default": "block_only_high",
"x-order": 2
}
}
}
Fixy
- Transform
- Fusion
- Restore Photo
- Remove Text
- Remove Background
- Deep Effect
{
"type": "object",
"title": "Input",
"required": [
"prompt",
"input_image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 5,
"description": "Random seed for reproducible generation. Leave blank for random."
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Text description of what you want to generate, or the instruction on how to edit the given image."
},
"go_fast": {
"type": "boolean",
"title": "Go Fast",
"default": true,
"x-order": 9,
"description": "Make the model go fast, output quality may be slightly degraded for more difficult prompts"
},
"guidance": {
"type": "number",
"title": "Guidance",
"default": 2.5,
"maximum": 10,
"minimum": 0,
"x-order": 4,
"description": "Guidance scale for generation"
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 1,
"description": "Image to use as reference. Must be jpeg, png, gif, or webp."
},
"aspect_ratio": {
"enum": [
"1:1",
"16:9",
"21:9",
"3:2",
"2:3",
"4:5",
"5:4",
"3:4",
"4:3",
"9:16",
"9:21",
"match_input_image"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.",
"default": "match_input_image",
"x-order": 2
},
"output_format": {
"enum": [
"webp",
"jpg",
"png"
],
"type": "string",
"title": "output_format",
"description": "Output image format",
"default": "webp",
"x-order": 6
},
"output_quality": {
"type": "integer",
"title": "Output Quality",
"default": 80,
"maximum": 100,
"minimum": 0,
"x-order": 7,
"description": "Quality when saving the output images, from 0 to 100. 100 is best quality, 0 is lowest quality. Not relevant for .png outputs"
},
"num_inference_steps": {
"type": "integer",
"title": "Num Inference Steps",
"default": 28,
"maximum": 50,
"minimum": 4,
"x-order": 3,
"description": "Number of inference steps"
},
"disable_safety_checker": {
"type": "boolean",
"title": "Disable Safety Checker",
"default": false,
"x-order": 8,
"description": "Disable NSFW safety checker"
}
}
}
{
"type": "object",
"title": "Input",
"required": [
"prompt",
"input_image_1",
"input_image_2"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 4,
"nullable": true,
"description": "Random seed. Set for reproducible generation"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Text description of how to combine or transform the two input images"
},
"aspect_ratio": {
"enum": [
"match_input_image",
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3",
"4:5",
"5:4",
"21:9",
"9:21",
"2:1",
"1:2"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.",
"default": "match_input_image",
"x-order": 3
},
"input_image_1": {
"type": "string",
"title": "Input Image 1",
"format": "uri",
"x-order": 1,
"description": "First input image. Must be jpeg, png, gif, or webp."
},
"input_image_2": {
"type": "string",
"title": "Input Image 2",
"format": "uri",
"x-order": 2,
"description": "Second input image. Must be jpeg, png, gif, or webp."
},
"output_format": {
"enum": [
"jpg",
"png"
],
"type": "string",
"title": "output_format",
"description": "Output format for the generated image",
"default": "png",
"x-order": 5
},
"safety_tolerance": {
"type": "integer",
"title": "Safety Tolerance",
"default": 2,
"maximum": 2,
"minimum": 0,
"x-order": 6,
"description": "Safety tolerance, 0 is most strict and 2 is most permissive. 2 is currently the maximum allowed."
}
}
}
{
"type": "object",
"title": "Input",
"required": [
"input_image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 1,
"description": "Random seed. Set for reproducible generation"
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 0,
"description": "Image to restore. Must be jpeg, png, gif, or webp."
},
"output_format": {
"enum": [
"jpg",
"png"
],
"type": "string",
"title": "output_format",
"description": "Output format for the generated image",
"default": "png",
"x-order": 2
},
"safety_tolerance": {
"type": "integer",
"title": "Safety Tolerance",
"default": 2,
"maximum": 2,
"minimum": 0,
"x-order": 3,
"description": "Safety tolerance, 0 is most strict and 2 is most permissive. 2 is currently the maximum allowed."
}
}
}
{
"type": "object",
"title": "Input",
"required": [
"input_image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 2,
"nullable": true,
"description": "Random seed. Set for reproducible generation"
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 0,
"description": "Image to remove text from. Must be jpeg, png, gif, or webp."
},
"aspect_ratio": {
"enum": [
"match_input_image",
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3",
"4:5",
"5:4",
"21:9",
"9:21",
"2:1",
"1:2"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.",
"default": "match_input_image",
"x-order": 1
},
"output_format": {
"enum": [
"jpg",
"png"
],
"type": "string",
"title": "output_format",
"description": "Output format for the generated image",
"default": "png",
"x-order": 3
},
"safety_tolerance": {
"type": "integer",
"title": "Safety Tolerance",
"default": 2,
"maximum": 2,
"minimum": 0,
"x-order": 4,
"description": "Safety tolerance, 0 is most strict and 2 is most permissive. 2 is currently the maximum allowed."
}
}
}
{
"type": "object",
"title": "Input",
"required": [
"image"
],
"properties": {
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 0,
"description": "Image to remove background from. Supported formats: PNG, JPG, WEBP. Max 5MB, max 16MP, max dimension 4096px, min dimension 256px."
}
}
}
{
"type": "object",
"title": "Input",
"required": [
"input_image"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"x-order": 4,
"nullable": true,
"description": "Random seed. Set for reproducible generation"
},
"gender": {
"enum": [
"none",
"male",
"female"
],
"type": "string",
"title": "gender",
"description": "The gender of the person",
"default": "none",
"x-order": 2
},
"blur_effect": {
"enum": [
"Random",
"extreme background blur",
"maximum bokeh effect",
"ultra shallow depth of field",
"professional portrait blur",
"cinematic depth of field",
"studio photography blur",
"dramatic background blur",
"creamy smooth bokeh",
"intense background separation",
"golden hour lighting with background blur",
"dramatic rim lighting with blur",
"professional studio lighting with bokeh",
"moody lighting with background blur",
"high-key lighting with blur",
"low-key dramatic lighting with blur",
"85mm lens background separation",
"telephoto compression blur",
"portrait lens blur",
"fashion photography blur",
"headshot photography blur",
"dreamy ethereal background blur",
"film photography vintage blur",
"commercial photography blur",
"editorial style background blur",
"luxury portrait blur"
],
"type": "string",
"title": "blur_effect",
"description": "The professional blur effect to add to the background",
"default": "ultra shallow depth of field",
"x-order": 1
},
"input_image": {
"type": "string",
"title": "Input Image",
"format": "uri",
"x-order": 0,
"description": "Image to add professional background blur effects. Must be jpeg, png, gif, or webp."
},
"aspect_ratio": {
"enum": [
"match_input_image",
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3",
"4:5",
"5:4",
"21:9",
"9:21",
"2:1",
"1:2"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio of the generated image. Use 'match_input_image' to match the aspect ratio of the input image.",
"default": "match_input_image",
"x-order": 3
}
}
}
Canvas
- Anime
- Render 3D
- Auto
- Design
- Realistic
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"maximum": 2147483647,
"x-order": 5,
"nullable": true,
"description": "Random seed. Set for reproducible generation"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Text prompt for image generation"
},
"resolution": {
"enum": [
"None",
"512x1536",
"576x1408",
"576x1472",
"576x1536",
"640x1344",
"640x1408",
"640x1472",
"640x1536",
"704x1152",
"704x1216",
"704x1280",
"704x1344",
"704x1408",
"704x1472",
"736x1312",
"768x1088",
"768x1216",
"768x1280",
"768x1344",
"832x960",
"832x1024",
"832x1088",
"832x1152",
"832x1216",
"832x1248",
"864x1152",
"896x960",
"896x1024",
"896x1088",
"896x1120",
"896x1152",
"960x832",
"960x896",
"960x1024",
"960x1088",
"1024x832",
"1024x896",
"1024x960",
"1024x1024",
"1088x768",
"1088x832",
"1088x896",
"1088x960",
"1120x896",
"1152x704",
"1152x832",
"1152x864",
"1152x896",
"1216x704",
"1216x768",
"1216x832",
"1248x832",
"1280x704",
"1280x768",
"1280x800",
"1312x736",
"1344x640",
"1344x704",
"1344x768",
"1408x576",
"1408x640",
"1408x704",
"1472x576",
"1472x640",
"1472x704",
"1536x512",
"1536x576",
"1536x640"
],
"type": "string",
"title": "resolution",
"description": "Resolution. Overrides aspect ratio. Ignored if an inpainting image is given.",
"default": "None",
"x-order": 2
},
"style_type": {
"enum": [
"None",
"Auto",
"General",
"Realistic",
"Design",
"Render 3D",
"Anime"
],
"type": "string",
"title": "style_type",
"description": "The styles help define the specific aesthetic of the image you want to generate.",
"default": "None",
"x-order": 4
},
"aspect_ratio": {
"enum": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3",
"16:10",
"10:16",
"3:1",
"1:3"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio. Ignored if a resolution or inpainting image is given.",
"default": "1:1",
"x-order": 1
},
"magic_prompt_option": {
"enum": [
"Auto",
"On",
"Off"
],
"type": "string",
"title": "magic_prompt_option",
"description": "Magic Prompt will interpret your prompt and optimize it to maximize variety and quality of the images generated. You can also use it to write prompts in different languages.",
"default": "Auto",
"x-order": 3
}
}
}
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"seed": {
"type": "integer",
"title": "Seed",
"maximum": 2147483647,
"x-order": 5,
"nullable": true,
"description": "Random seed. Set for reproducible generation"
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Text prompt for image generation"
},
"resolution": {
"enum": [
"None",
"512x1536",
"576x1408",
"576x1472",
"576x1536",
"640x1344",
"640x1408",
"640x1472",
"640x1536",
"704x1152",
"704x1216",
"704x1280",
"704x1344",
"704x1408",
"704x1472",
"736x1312",
"768x1088",
"768x1216",
"768x1280",
"768x1344",
"832x960",
"832x1024",
"832x1088",
"832x1152",
"832x1216",
"832x1248",
"864x1152",
"896x960",
"896x1024",
"896x1088",
"896x1120",
"896x1152",
"960x832",
"960x896",
"960x1024",
"960x1088",
"1024x832",
"1024x896",
"1024x960",
"1024x1024",
"1088x768",
"1088x832",
"1088x896",
"1088x960",
"1120x896",
"1152x704",
"1152x832",
"1152x864",
"1152x896",
"1216x704",
"1216x768",
"1216x832",
"1248x832",
"1280x704",
"1280x768",
"1280x800",
"1312x736",
"1344x640",
"1344x704",
"1344x768",
"1408x576",
"1408x640",
"1408x704",
"1472x576",
"1472x640",
"1472x704",
"1536x512",
"1536x576",
"1536x640"
],
"type": "string",
"title": "resolution",
"description": "Resolution. Overrides aspect ratio. Ignored if an inpainting image is given.",
"default": "None",
"x-order": 2
},
"style_type": {
"enum": [
"None",
"Auto",
"General",
"Realistic",
"Design",
"Render 3D",
"Anime"
],
"type": "string",
"title": "style_type",
"description": "The styles help define the specific aesthetic of the image you want to generate.",
"default": "None",
"x-order": 4
},
"aspect_ratio": {
"enum": [
"1:1",
"16:9",
"9:16",
"4:3",
"3:4",
"3:2",
"2:3",
"16:10",
"10:16",
"3:1",
"1:3"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio. Ignored if a resolution or inpainting image is given.",
"default": "1:1",
"x-order": 1
},
"magic_prompt_option": {
"enum": [
"Auto",
"On",
"Off"
],
"type": "string",
"title": "magic_prompt_option",
"description": "Magic Prompt will interpret your prompt and optimize it to maximize variety and quality of the images generated. You can also use it to write prompts in different languages.",
"default": "Auto",
"x-order": 3
}
}
}
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"mask": {
"type": "string",
"title": "Mask",
"format": "uri",
"x-order": 5,
"nullable": true,
"description": "A black and white image. Black pixels are inpainted, white pixels are preserved. The mask will be resized to match the image size."
},
"seed": {
"type": "integer",
"title": "Seed",
"maximum": 2147483647,
"x-order": 8,
"nullable": true,
"description": "Random seed. Set for reproducible generation"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 4,
"nullable": true,
"description": "An image file to use for inpainting. You must also use a mask."
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Text prompt for image generation"
},
"resolution": {
"enum": [
"None",
"512x1536",
"576x1408",
"576x1472",
"576x1536",
"640x1344",
"640x1408",
"640x1472",
"640x1536",
"704x1152",
"704x1216",
"704x1280",
"704x1344",
"704x1408",
"704x1472",
"736x1312",
"768x1088",
"768x1216",
"768x1280",
"768x1344",
"800x1280",
"832x960",
"832x1024",
"832x1088",
"832x1152",
"832x1216",
"832x1248",
"864x1152",
"896x960",
"896x1024",
"896x1088",
"896x1120",
"896x1152",
"960x832",
"960x896",
"960x1024",
"960x1088",
"1024x832",
"1024x896",
"1024x960",
"1024x1024",
"1088x768",
"1088x832",
"1088x896",
"1088x960",
"1120x896",
"1152x704",
"1152x832",
"1152x864",
"1152x896",
"1216x704",
"1216x768",
"1216x832",
"1248x832",
"1280x704",
"1280x768",
"1280x800",
"1312x736",
"1344x640",
"1344x704",
"1344x768",
"1408x576",
"1408x640",
"1408x704",
"1472x576",
"1472x640",
"1472x704",
"1536x512",
"1536x576",
"1536x640"
],
"type": "string",
"title": "resolution",
"description": "Resolution. Overrides aspect ratio. Ignored if an inpainting image is given.",
"default": "None",
"x-order": 2
},
"style_type": {
"enum": [
"None",
"Auto",
"General",
"Realistic",
"Design"
],
"type": "string",
"title": "style_type",
"description": "The styles help define the specific aesthetic of the image you want to generate.",
"default": "None",
"x-order": 6
},
"aspect_ratio": {
"enum": [
"1:3",
"3:1",
"1:2",
"2:1",
"9:16",
"16:9",
"10:16",
"16:10",
"2:3",
"3:2",
"3:4",
"4:3",
"4:5",
"5:4",
"1:1"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio. Ignored if a resolution or inpainting image is given.",
"default": "1:1",
"x-order": 1
},
"style_preset": {
"enum": [
"None",
"80s Illustration",
"90s Nostalgia",
"Abstract Organic",
"Analog Nostalgia",
"Art Brut",
"Art Deco",
"Art Poster",
"Aura",
"Avant Garde",
"Bauhaus",
"Blueprint",
"Blurry Motion",
"Bright Art",
"C4D Cartoon",
"Children's Book",
"Collage",
"Coloring Book I",
"Coloring Book II",
"Cubism",
"Dark Aura",
"Doodle",
"Double Exposure",
"Dramatic Cinema",
"Editorial",
"Emotional Minimal",
"Ethereal Party",
"Expired Film",
"Flat Art",
"Flat Vector",
"Forest Reverie",
"Geo Minimalist",
"Glass Prism",
"Golden Hour",
"Graffiti I",
"Graffiti II",
"Halftone Print",
"High Contrast",
"Hippie Era",
"Iconic",
"Japandi Fusion",
"Jazzy",
"Long Exposure",
"Magazine Editorial",
"Minimal Illustration",
"Mixed Media",
"Monochrome",
"Nightlife",
"Oil Painting",
"Old Cartoons",
"Paint Gesture",
"Pop Art",
"Retro Etching",
"Riviera Pop",
"Spotlight 80s",
"Stylized Red",
"Surreal Collage",
"Travel Poster",
"Vintage Geo",
"Vintage Poster",
"Watercolor",
"Weird",
"Woodblock Print"
],
"type": "string",
"title": "style_preset",
"description": "Apply a predefined artistic style to the generated image (V3 models only).",
"default": "None",
"x-order": 9
},
"magic_prompt_option": {
"enum": [
"Auto",
"On",
"Off"
],
"type": "string",
"title": "magic_prompt_option",
"description": "Magic Prompt will interpret your prompt and optimize it to maximize variety and quality of the images generated. You can also use it to write prompts in different languages.",
"default": "Auto",
"x-order": 3
},
"style_reference_images": {
"type": "array",
"items": {
"type": "string",
"anyOf": [],
"format": "uri"
},
"title": "Style Reference Images",
"x-order": 7,
"nullable": true,
"description": "A list of images to use as style references."
}
}
}
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"mask": {
"type": "string",
"title": "Mask",
"format": "uri",
"x-order": 5,
"nullable": true,
"description": "A black and white image. Black pixels are inpainted, white pixels are preserved. The mask will be resized to match the image size."
},
"seed": {
"type": "integer",
"title": "Seed",
"maximum": 2147483647,
"x-order": 8,
"nullable": true,
"description": "Random seed. Set for reproducible generation"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 4,
"nullable": true,
"description": "An image file to use for inpainting. You must also use a mask."
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Text prompt for image generation"
},
"resolution": {
"enum": [
"None",
"512x1536",
"576x1408",
"576x1472",
"576x1536",
"640x1344",
"640x1408",
"640x1472",
"640x1536",
"704x1152",
"704x1216",
"704x1280",
"704x1344",
"704x1408",
"704x1472",
"736x1312",
"768x1088",
"768x1216",
"768x1280",
"768x1344",
"800x1280",
"832x960",
"832x1024",
"832x1088",
"832x1152",
"832x1216",
"832x1248",
"864x1152",
"896x960",
"896x1024",
"896x1088",
"896x1120",
"896x1152",
"960x832",
"960x896",
"960x1024",
"960x1088",
"1024x832",
"1024x896",
"1024x960",
"1024x1024",
"1088x768",
"1088x832",
"1088x896",
"1088x960",
"1120x896",
"1152x704",
"1152x832",
"1152x864",
"1152x896",
"1216x704",
"1216x768",
"1216x832",
"1248x832",
"1280x704",
"1280x768",
"1280x800",
"1312x736",
"1344x640",
"1344x704",
"1344x768",
"1408x576",
"1408x640",
"1408x704",
"1472x576",
"1472x640",
"1472x704",
"1536x512",
"1536x576",
"1536x640"
],
"type": "string",
"title": "resolution",
"description": "Resolution. Overrides aspect ratio. Ignored if an inpainting image is given.",
"default": "None",
"x-order": 2
},
"style_type": {
"enum": [
"None",
"Auto",
"General",
"Realistic",
"Design"
],
"type": "string",
"title": "style_type",
"description": "The styles help define the specific aesthetic of the image you want to generate.",
"default": "None",
"x-order": 6
},
"aspect_ratio": {
"enum": [
"1:3",
"3:1",
"1:2",
"2:1",
"9:16",
"16:9",
"10:16",
"16:10",
"2:3",
"3:2",
"3:4",
"4:3",
"4:5",
"5:4",
"1:1"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio. Ignored if a resolution or inpainting image is given.",
"default": "1:1",
"x-order": 1
},
"style_preset": {
"enum": [
"None",
"80s Illustration",
"90s Nostalgia",
"Abstract Organic",
"Analog Nostalgia",
"Art Brut",
"Art Deco",
"Art Poster",
"Aura",
"Avant Garde",
"Bauhaus",
"Blueprint",
"Blurry Motion",
"Bright Art",
"C4D Cartoon",
"Children's Book",
"Collage",
"Coloring Book I",
"Coloring Book II",
"Cubism",
"Dark Aura",
"Doodle",
"Double Exposure",
"Dramatic Cinema",
"Editorial",
"Emotional Minimal",
"Ethereal Party",
"Expired Film",
"Flat Art",
"Flat Vector",
"Forest Reverie",
"Geo Minimalist",
"Glass Prism",
"Golden Hour",
"Graffiti I",
"Graffiti II",
"Halftone Print",
"High Contrast",
"Hippie Era",
"Iconic",
"Japandi Fusion",
"Jazzy",
"Long Exposure",
"Magazine Editorial",
"Minimal Illustration",
"Mixed Media",
"Monochrome",
"Nightlife",
"Oil Painting",
"Old Cartoons",
"Paint Gesture",
"Pop Art",
"Retro Etching",
"Riviera Pop",
"Spotlight 80s",
"Stylized Red",
"Surreal Collage",
"Travel Poster",
"Vintage Geo",
"Vintage Poster",
"Watercolor",
"Weird",
"Woodblock Print"
],
"type": "string",
"title": "style_preset",
"description": "Apply a predefined artistic style to the generated image (V3 models only).",
"default": "None",
"x-order": 9
},
"magic_prompt_option": {
"enum": [
"Auto",
"On",
"Off"
],
"type": "string",
"title": "magic_prompt_option",
"description": "Magic Prompt will interpret your prompt and optimize it to maximize variety and quality of the images generated. You can also use it to write prompts in different languages.",
"default": "Auto",
"x-order": 3
},
"style_reference_images": {
"type": "array",
"items": {
"type": "string",
"anyOf": [],
"format": "uri"
},
"title": "Style Reference Images",
"x-order": 7,
"nullable": true,
"description": "A list of images to use as style references."
}
}
}
{
"type": "object",
"title": "Input",
"required": [
"prompt"
],
"properties": {
"mask": {
"type": "string",
"title": "Mask",
"format": "uri",
"x-order": 5,
"nullable": true,
"description": "A black and white image. Black pixels are inpainted, white pixels are preserved. The mask will be resized to match the image size."
},
"seed": {
"type": "integer",
"title": "Seed",
"maximum": 2147483647,
"x-order": 8,
"nullable": true,
"description": "Random seed. Set for reproducible generation"
},
"image": {
"type": "string",
"title": "Image",
"format": "uri",
"x-order": 4,
"nullable": true,
"description": "An image file to use for inpainting. You must also use a mask."
},
"prompt": {
"type": "string",
"title": "Prompt",
"x-order": 0,
"description": "Text prompt for image generation"
},
"resolution": {
"enum": [
"None",
"512x1536",
"576x1408",
"576x1472",
"576x1536",
"640x1344",
"640x1408",
"640x1472",
"640x1536",
"704x1152",
"704x1216",
"704x1280",
"704x1344",
"704x1408",
"704x1472",
"736x1312",
"768x1088",
"768x1216",
"768x1280",
"768x1344",
"800x1280",
"832x960",
"832x1024",
"832x1088",
"832x1152",
"832x1216",
"832x1248",
"864x1152",
"896x960",
"896x1024",
"896x1088",
"896x1120",
"896x1152",
"960x832",
"960x896",
"960x1024",
"960x1088",
"1024x832",
"1024x896",
"1024x960",
"1024x1024",
"1088x768",
"1088x832",
"1088x896",
"1088x960",
"1120x896",
"1152x704",
"1152x832",
"1152x864",
"1152x896",
"1216x704",
"1216x768",
"1216x832",
"1248x832",
"1280x704",
"1280x768",
"1280x800",
"1312x736",
"1344x640",
"1344x704",
"1344x768",
"1408x576",
"1408x640",
"1408x704",
"1472x576",
"1472x640",
"1472x704",
"1536x512",
"1536x576",
"1536x640"
],
"type": "string",
"title": "resolution",
"description": "Resolution. Overrides aspect ratio. Ignored if an inpainting image is given.",
"default": "None",
"x-order": 2
},
"style_type": {
"enum": [
"None",
"Auto",
"General",
"Realistic",
"Design"
],
"type": "string",
"title": "style_type",
"description": "The styles help define the specific aesthetic of the image you want to generate.",
"default": "None",
"x-order": 6
},
"aspect_ratio": {
"enum": [
"1:3",
"3:1",
"1:2",
"2:1",
"9:16",
"16:9",
"10:16",
"16:10",
"2:3",
"3:2",
"3:4",
"4:3",
"4:5",
"5:4",
"1:1"
],
"type": "string",
"title": "aspect_ratio",
"description": "Aspect ratio. Ignored if a resolution or inpainting image is given.",
"default": "1:1",
"x-order": 1
},
"style_preset": {
"enum": [
"None",
"80s Illustration",
"90s Nostalgia",
"Abstract Organic",
"Analog Nostalgia",
"Art Brut",
"Art Deco",
"Art Poster",
"Aura",
"Avant Garde",
"Bauhaus",
"Blueprint",
"Blurry Motion",
"Bright Art",
"C4D Cartoon",
"Children's Book",
"Collage",
"Coloring Book I",
"Coloring Book II",
"Cubism",
"Dark Aura",
"Doodle",
"Double Exposure",
"Dramatic Cinema",
"Editorial",
"Emotional Minimal",
"Ethereal Party",
"Expired Film",
"Flat Art",
"Flat Vector",
"Forest Reverie",
"Geo Minimalist",
"Glass Prism",
"Golden Hour",
"Graffiti I",
"Graffiti II",
"Halftone Print",
"High Contrast",
"Hippie Era",
"Iconic",
"Japandi Fusion",
"Jazzy",
"Long Exposure",
"Magazine Editorial",
"Minimal Illustration",
"Mixed Media",
"Monochrome",
"Nightlife",
"Oil Painting",
"Old Cartoons",
"Paint Gesture",
"Pop Art",
"Retro Etching",
"Riviera Pop",
"Spotlight 80s",
"Stylized Red",
"Surreal Collage",
"Travel Poster",
"Vintage Geo",
"Vintage Poster",
"Watercolor",
"Weird",
"Woodblock Print"
],
"type": "string",
"title": "style_preset",
"description": "Apply a predefined artistic style to the generated image (V3 models only).",
"default": "None",
"x-order": 9
},
"magic_prompt_option": {
"enum": [
"Auto",
"On",
"Off"
],
"type": "string",
"title": "magic_prompt_option",
"description": "Magic Prompt will interpret your prompt and optimize it to maximize variety and quality of the images generated. You can also use it to write prompts in different languages.",
"default": "Auto",
"x-order": 3
},
"style_reference_images": {
"type": "array",
"items": {
"type": "string",
"anyOf": [],
"format": "uri"
},
"title": "Style Reference Images",
"x-order": 7,
"nullable": true,
"description": "A list of images to use as style references."
}
}
}