@sogni-ai/sogni-intelligence-client 4.25.6 → 4.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/media/gptImage.d.ts.map +1 -1
- package/dist/media/gptImage.js +3 -1
- package/dist/media/gptImage.js.map +1 -1
- package/dist/openai-tools/_manifests.generated.d.ts.map +1 -1
- package/dist/openai-tools/_manifests.generated.js +20 -7
- package/dist/openai-tools/_manifests.generated.js.map +1 -1
- package/dist/openai-tools/generation-tools.json +20 -7
- package/dist/schemas/tools/edit_image.schema.json +17 -4
- package/dist/schemas/tools/generate_image.schema.json +2 -2
- package/dist/tools/definitions/edit-image/definition.d.ts.map +1 -1
- package/dist/tools/definitions/edit-image/definition.js +6 -4
- package/dist/tools/definitions/edit-image/definition.js.map +1 -1
- package/dist/tools/definitions/generate-image/definition.js +2 -2
- package/dist/tools/definitions/generate-image/definition.js.map +1 -1
- package/dist-esm/media/gptImage.js +3 -1
- package/dist-esm/media/gptImage.js.map +1 -1
- package/dist-esm/openai-tools/_manifests.generated.js +20 -7
- package/dist-esm/openai-tools/_manifests.generated.js.map +1 -1
- package/dist-esm/openai-tools/generation-tools.json +20 -7
- package/dist-esm/schemas/tools/edit_image.schema.json +17 -4
- package/dist-esm/schemas/tools/generate_image.schema.json +2 -2
- package/dist-esm/tools/definitions/edit-image/definition.js +6 -4
- package/dist-esm/tools/definitions/edit-image/definition.js.map +1 -1
- package/dist-esm/tools/definitions/generate-image/definition.js +2 -2
- package/dist-esm/tools/definitions/generate-image/definition.js.map +1 -1
- package/package.json +3 -3
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"$id": "https://schemas.sogni.ai/creative-agent/2026-07-18.1/tools/edit_image.schema.json",
|
|
4
4
|
"title": "edit_image arguments",
|
|
5
5
|
"schemaVersion": "2026-07-18.1",
|
|
6
|
-
"description": "Generate images guided by reference photos. Supports GPT Image 2 up to 16 images, FLUX 3 Image Klein up to 10 images, Qwen up to 3 images, and Krea 2 Identity Edit / Dark Beast Krea 2 Identity Edit up to 2 images. Best for style-guided generation, combining elements from multiple images, ANY persona image creation, identity-preserving Krea edits, and any uploaded brand asset reuse — logos, brand marks, mascots, product shots, photos, screenshots, sketches, or character designs the user expects to appear in or guide the result. ALWAYS use this (never generate_image) when persona photos OR uploaded image assets meant for reuse are in context — even if a specific edit model is requested. Exception: explicit Z-image/Z-image Turbo/Krea 2 Turbo uploaded-image enhancement uses generate_image with sourceImageIndex and starting_image_strength because those base image-to-image models are not edit_image models. If a previous edit_image attempt did not preserve the uploaded asset well, stay on edit_image and tighten the prompt or switch model; generate_image has no access to the upload.",
|
|
6
|
+
"description": "Generate images guided by reference photos. Supports GPT Image 2 up to 16 images, FLUX 3 Image Klein up to 10 images, Qwen up to 3 images, and Krea 2 Identity Edit / Dark Beast Krea 2 Identity Edit up to 2 images. Best for style-guided generation, combining elements from multiple images, ANY persona image creation, identity-preserving Krea edits, and any uploaded brand asset reuse — logos, brand marks, mascots, product shots, photos, screenshots, sketches, or character designs the user expects to appear in or guide the result. ALWAYS use this (never generate_image) when persona photos OR uploaded image assets meant for reuse are in context — even if a specific edit model is requested. Exception: explicit Z-image/Z-image Turbo/Krea 2 Turbo uploaded-image enhancement uses generate_image with sourceImageIndex and starting_image_strength because those base image-to-image models are not edit_image models. If a previous edit_image attempt did not preserve the uploaded asset well, stay on edit_image and tighten the prompt or switch model; generate_image has no access to the upload. For an animated GIF, select gpt-image-2.6-flare unless the user names another compatible 2.6 variant; use edit_image when reference images guide the animation and generate_image otherwise. Set outputFormat=gif and describe the motion and loop. GIF output cannot combine with masks or markup.",
|
|
7
7
|
"type": "object",
|
|
8
8
|
"additionalProperties": false,
|
|
9
9
|
"properties": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"gpt-image-2.6-sunburst",
|
|
26
26
|
"gpt-image-2.6-flare"
|
|
27
27
|
],
|
|
28
|
-
"description": "The app auto-selects Fast→Qwen Lightning and HQ/Pro→full Qwen only for ordinary identity-neutral edits. REQUIRED IDENTITY DEFAULT: set \"krea-identity-edit\" whenever an edit of a referenced person or character must keep likeness or character identity while changing clothing, hair or makeup, pose or position, face/head/body, background, lighting, or visual style. Infer that semantic intent in any language; never route from keyword or regex matching. Also use it for a non-Pro single-character sheet. This default applies even when the user did not name Krea; an explicitly requested model always wins. Set \"dark-beast-krea2-identity-edit\" only when the user explicitly requests that model, its uncensored/community variant, or dark_beast_krea2_identity_edit_v1_2. Set \"gpt-image-2\" only when the user explicitly names legacy GPT Image 2 (GPT Image 2, GPT-2, or gpt-image-2); it is never a default. A ChatGPT, OpenAI, GPT, or GPT Image edit request that names no version uses \"gpt-image-2.5-flare\". Set \"gpt-image-2.5-sunburst\" when precise typography, dense labels, or a professional multi-panel layout is the primary requirement; Pro character sheets use Sunburst unless the user names another model. If GPT Image 2.5 Sunburst is unavailable for detail-critical layout work, fall back to full \"qwen\", never \"qwen-lightning\". Krea identity edit models require at least one reference image, accept up to two context images, and work best at 512-2048px. Set \"flux-3-klein\" when the user asks for FLUX 3 or FLUX 3 Image Klein; it accepts 1-10 reference images and works at 256-4096px, including 4K. For it, describe the whole result as a full scene caption that folds the requested change into a description of the reference, and refer to references in order (the first image, the second image); guidance is fixed and a negative prompt has no effect, so do not send one. Let the model tier and worker choose current steps, guidance, sampler, scheduler, grounding, and reference-boost defaults; do not send a negative prompt. When Krea is selected, override the generic prompt-length guidance with a concise 1-4 sentence delta instruction; name only the requested change and details that must remain fixed. Put the base scene/image first and an optional person/detail reference second. Z-image, Z-image Turbo, and base Krea 2 Turbo are generate_image img2img models, not edit_image selectors. If the user names another edit/image model, honor it. GPT Image 2 always processes input images at high fidelity; do not set input_fidelity. GPT Image 2.5 adds two distinct models: use \"gpt-image-2.5-sunburst\" for an explicit Sunburst request and \"gpt-image-2.5-flare\" for an explicit Flare request. For GPT Image 2.5 without a named variant, use Flare. Preserve explicit GPT Image 2.0 as \"gpt-image-2\". Sunburst is positioned for difficult images and precise edits; Flare for faster everyday generation. Both generate and edit. Model choice is independent of rendering quality. Honor an explicitly selected GPT Image 2.6 Sunburst or Flare. For an animated GIF
|
|
28
|
+
"description": "The app auto-selects Fast→Qwen Lightning and HQ/Pro→full Qwen only for ordinary identity-neutral edits. REQUIRED IDENTITY DEFAULT: set \"krea-identity-edit\" whenever an edit of a referenced person or character must keep likeness or character identity while changing clothing, hair or makeup, pose or position, face/head/body, background, lighting, or visual style. Infer that semantic intent in any language; never route from keyword or regex matching. Also use it for a non-Pro single-character sheet. This default applies even when the user did not name Krea; an explicitly requested model always wins. Set \"dark-beast-krea2-identity-edit\" only when the user explicitly requests that model, its uncensored/community variant, or dark_beast_krea2_identity_edit_v1_2. Set \"gpt-image-2\" only when the user explicitly names legacy GPT Image 2 (GPT Image 2, GPT-2, or gpt-image-2); it is never a default. A ChatGPT, OpenAI, GPT, or GPT Image edit request that names no version uses \"gpt-image-2.5-flare\". Set \"gpt-image-2.5-sunburst\" when precise typography, dense labels, or a professional multi-panel layout is the primary requirement; Pro character sheets use Sunburst unless the user names another model. If GPT Image 2.5 Sunburst is unavailable for detail-critical layout work, fall back to full \"qwen\", never \"qwen-lightning\". Krea identity edit models require at least one reference image, accept up to two context images, and work best at 512-2048px. Set \"flux-3-klein\" when the user asks for FLUX 3 or FLUX 3 Image Klein; it accepts 1-10 reference images and works at 256-4096px, including 4K. For it, describe the whole result as a full scene caption that folds the requested change into a description of the reference, and refer to references in order (the first image, the second image); guidance is fixed and a negative prompt has no effect, so do not send one. Let the model tier and worker choose current steps, guidance, sampler, scheduler, grounding, and reference-boost defaults; do not send a negative prompt. When Krea is selected, override the generic prompt-length guidance with a concise 1-4 sentence delta instruction; name only the requested change and details that must remain fixed. Put the base scene/image first and an optional person/detail reference second. Z-image, Z-image Turbo, and base Krea 2 Turbo are generate_image img2img models, not edit_image selectors. If the user names another edit/image model, honor it. GPT Image 2 always processes input images at high fidelity; do not set input_fidelity. GPT Image 2.5 adds two distinct models: use \"gpt-image-2.5-sunburst\" for an explicit Sunburst request and \"gpt-image-2.5-flare\" for an explicit Flare request. For GPT Image 2.5 without a named variant, use Flare. Preserve explicit GPT Image 2.0 as \"gpt-image-2\". Sunburst is positioned for difficult images and precise edits; Flare for faster everyday generation. Both generate and edit. Model choice is independent of rendering quality. Honor an explicitly selected GPT Image 2.6 Sunburst or Flare. For an animated GIF, select gpt-image-2.6-flare unless the user names another compatible 2.6 variant; use edit_image when reference images guide the animation and generate_image otherwise. Set outputFormat=gif and describe the motion and loop. GIF output cannot combine with masks or markup."
|
|
29
29
|
},
|
|
30
30
|
"sourceImageIndex": {
|
|
31
31
|
"type": "number",
|
|
@@ -66,9 +66,10 @@
|
|
|
66
66
|
"png",
|
|
67
67
|
"jpg",
|
|
68
68
|
"jpeg",
|
|
69
|
-
"webp"
|
|
69
|
+
"webp",
|
|
70
|
+
"gif"
|
|
70
71
|
],
|
|
71
|
-
"description": "
|
|
72
|
+
"description": "Set only when the user explicitly requests a file format. Otherwise leave outputFormat unset. GIF requires GPT Image 2.6 Sunburst or Flare and supports ordered reference images; masks and markup cannot combine with GIF. Hosts should normalize \"jpeg\" to the Sogni project format \"jpg\"."
|
|
72
73
|
},
|
|
73
74
|
"personaName": {
|
|
74
75
|
"type": "string",
|
|
@@ -124,6 +125,18 @@
|
|
|
124
125
|
"markup_image_url": {
|
|
125
126
|
"type": "string",
|
|
126
127
|
"description": "GPT Image 2.6 edit annotation layer for the first reference. Cannot combine with mask_image_url."
|
|
128
|
+
},
|
|
129
|
+
"gptImageFrameCount": {
|
|
130
|
+
"type": "integer",
|
|
131
|
+
"minimum": 2,
|
|
132
|
+
"maximum": 16,
|
|
133
|
+
"description": "GPT Image 2.6 GIF only: frame count, default 9. Frames must fit the request pixel budget."
|
|
134
|
+
},
|
|
135
|
+
"gptImageFrameDurationMs": {
|
|
136
|
+
"type": "integer",
|
|
137
|
+
"minimum": 20,
|
|
138
|
+
"maximum": 2000,
|
|
139
|
+
"description": "GPT Image 2.6 GIF only: milliseconds per frame, rounded to 10 ms; default 200."
|
|
127
140
|
}
|
|
128
141
|
},
|
|
129
142
|
"required": [
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"gpt-image-2.6-sunburst",
|
|
48
48
|
"gpt-image-2.6-flare"
|
|
49
49
|
],
|
|
50
|
-
"description": "DO NOT SET THIS PARAMETER unless the user names a specific model, requests an animated GIF, asks for a very complex image render, asks for a video storyboard/storyboard sheet/contact sheet/panel layout image, asks for anime without naming a model, requests permitted NSFW/nudity content, or explicitly asks for Z-image/Z-image Turbo/Krea 2 Turbo image-to-image. The app auto-selects based on quality settings. For an animated GIF, select gpt-image-2.6-flare unless the user names another compatible 2.6 variant; use generate_image
|
|
50
|
+
"description": "DO NOT SET THIS PARAMETER unless the user names a specific model, requests an animated GIF, asks for a very complex image render, asks for a video storyboard/storyboard sheet/contact sheet/panel layout image, asks for anime without naming a model, requests permitted NSFW/nudity content, or explicitly asks for Z-image/Z-image Turbo/Krea 2 Turbo image-to-image. The app auto-selects based on quality settings. For an animated GIF, select gpt-image-2.6-flare unless the user names another compatible 2.6 variant; use generate_image without references, or edit_image when reference images guide the animation. Set \"gpt-image-2.5-flare\" when the user asks for a ChatGPT, OpenAI, GPT, or GPT Image image/model without naming a version. Set \"gpt-image-2\" only when the user explicitly names GPT Image 2, GPT-2, or gpt-image-2; GPT Image 2 is never a default. Set \"gpt-image-2.5-sunburst\" when the user explicitly requests very strong text rendering, and by default for video storyboards and other complex single-image renders that need dense labels, crisp typography, multi-panel composition, timing notes, foley notes, professional storyboard-sheet layout, or a comprehensive character/mascot/model sheet with turnarounds, expressions, accessories, palette swatches, and brand notes. Set \"one-obsession-v22\" when the user asks for an anime or anime-style image and has not named a specific image model. Set \"z-turbo\" when the user asks for Z-image Turbo; set \"z-image\" when they ask for Z-image without Turbo. Set \"krea-2-turbo\" when the user asks for Krea 2 Turbo. Set \"flux-3-klein\" when the user asks for FLUX 3 or FLUX 3 Image Klein. If the user names another image model, honor that requested model instead. A model preference usually does not change which tool to use; the Z-image and Krea 2 Turbo image-to-image exception uses sourceImageIndex plus starting_image_strength on this tool. NSFW rule: GPT Image models and Qwen image models CANNOT do nudity. For permitted NSFW/nudity content, prefer \"dark-beast-krea2\", then \"dark-beast-z-turbo\"; \"chroma1-hd\", \"pony-v7\", \"chroma-detail\", \"chroma-v46-flash\", \"z-turbo\", \"moss-image\", and \"moss-image-8step\" are compatible fallbacks. GPT Image 2.5 adds two distinct models: use \"gpt-image-2.5-sunburst\" for an explicit Sunburst request and \"gpt-image-2.5-flare\" for an explicit Flare request. For GPT Image 2.5 without a named variant, use Flare. Preserve explicit GPT Image 2.0 as \"gpt-image-2\". Sunburst is positioned for difficult images and precise edits; Flare for faster everyday generation. Both generate and edit. Model choice is independent of rendering quality. Set \"moss-image\" when the user requests MOSS-Image or MOSS-Image SFT. Set \"moss-image-8step\" when the user requests MOSS 8-step or MOSS DMD; this preset uses 8 steps and guidance 1. Both MOSS presets are uncensored and support compatible Personal LoRAs. MOSS-Image SFT is text-to-image only; it has no uploaded-image instruction-editing input. For its JSON layouts, send one complete literal layout per call; numberOfVariations varies seeds. Use separate calls for different layouts, and do not put Dynamic Prompt choices inside layout JSON. Honor an explicitly selected GPT Image 2.6 Sunburst or Flare. For an animated GIF, select gpt-image-2.6-flare unless the user names another compatible 2.6 variant; use edit_image when reference images guide the animation and generate_image otherwise. Set outputFormat=gif and describe the motion and loop. GIF output cannot combine with masks or markup."
|
|
51
51
|
},
|
|
52
52
|
"width": {
|
|
53
53
|
"type": "number",
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
"webp",
|
|
104
104
|
"gif"
|
|
105
105
|
],
|
|
106
|
-
"description": "
|
|
106
|
+
"description": "Set only when the user explicitly requests a file format. Otherwise leave outputFormat unset. GIF requires GPT Image 2.6. Use edit_image when reference images guide the animation. Normalize jpeg to jpg."
|
|
107
107
|
},
|
|
108
108
|
"aspectRatio": {
|
|
109
109
|
"type": "string",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../../../src/tools/definitions/edit-image/definition.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAWlD,eAAO,MAAM,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"definition.d.ts","sourceRoot":"","sources":["../../../../src/tools/definitions/edit-image/definition.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAWlD,eAAO,MAAM,UAAU,EAAE,cA0KxB,CAAC"}
|
|
@@ -10,7 +10,7 @@ exports.definition = {
|
|
|
10
10
|
type: 'function',
|
|
11
11
|
function: {
|
|
12
12
|
name: 'edit_image',
|
|
13
|
-
description: 'Generate or edit images using reference photos. Supports GPT Image 2 up to 16 images, FLUX 3 Image Klein up to 10, Qwen up to 3, and Krea 2 Identity Edit with 1-2. This is the required tool for identity-sensitive edits of a referenced person or character: wardrobe, makeover, pose/repositioning, face/head/body changes, background or lighting changes, character-consistent style transfer, persona scene creation, and non-Pro single-character sheets. Use model="krea-identity-edit" for those by default unless the user explicitly names another model. Keep the primary base/scene image first and an optional person/detail reference second. Use this instead of generate_image whenever uploaded/persona assets must guide the result. Use restore_photo/refine_result/apply_style only for identity-neutral restoration or edits; a portrait follow-up that must preserve likeness stays on edit_image. Exception: explicit Z-image/Z-image Turbo/base Krea 2 Turbo img2img uses generate_image with sourceImageIndex and starting_image_strength.',
|
|
13
|
+
description: 'Generate or edit images using reference photos. Supports GPT Image 2 up to 16 images, FLUX 3 Image Klein up to 10, Qwen up to 3, and Krea 2 Identity Edit with 1-2. This is the required tool for identity-sensitive edits of a referenced person or character: wardrobe, makeover, pose/repositioning, face/head/body changes, background or lighting changes, character-consistent style transfer, persona scene creation, and non-Pro single-character sheets. Use model="krea-identity-edit" for those by default unless the user explicitly names another model. Keep the primary base/scene image first and an optional person/detail reference second. Use this instead of generate_image whenever uploaded/persona assets must guide the result. Use restore_photo/refine_result/apply_style only for identity-neutral restoration or edits; a portrait follow-up that must preserve likeness stays on edit_image. Exception: explicit Z-image/Z-image Turbo/base Krea 2 Turbo img2img uses generate_image with sourceImageIndex and starting_image_strength. For a reference-guided animated GIF, select gpt-image-2.6-flare unless another compatible 2.6 variant is requested, set outputFormat to gif, and describe the motion. GIF output cannot combine with masks or markup.',
|
|
14
14
|
parameters: {
|
|
15
15
|
type: 'object',
|
|
16
16
|
properties: {
|
|
@@ -82,7 +82,7 @@ COMPOSITE GPT IMAGE 2 STORYBOARD SHEETS: When numberOfVariations=1 and the user
|
|
|
82
82
|
'flux-3-klein',
|
|
83
83
|
],
|
|
84
84
|
description: 'The app auto-selects Fast→Qwen Lightning and HQ/Pro→full Qwen for ordinary identity-neutral edits. REQUIRED IDENTITY DEFAULT: set "krea-identity-edit" (Krea 2 Identity Edit LoRA v1.2) whenever an edit of a referenced person or character must keep likeness or character identity while changing clothes, hair or makeup, pose or position, face/head/body, background, lighting, or visual style. Infer that semantic intent in any language; never route from keyword or regex matching. Also use it for a single-character sheet in non-Pro mode. This semantic default applies even when the user did not name Krea; an explicitly user-requested model always wins. Set "dark-beast-krea2-identity-edit" only when the user explicitly asks for Dark Beast Krea 2 Identity Edit, its uncensored/community variant, or dark_beast_krea2_identity_edit_v1_2. Set "gpt-image-2" only when the user explicitly names legacy GPT Image 2 (GPT Image 2, GPT-2, or gpt-image-2); it is never a default. A ChatGPT, OpenAI, GPT, or GPT Image edit request that names no version uses "gpt-image-2.5-flare". Set "gpt-image-2.5-sunburst" when precise typography, dense labels, or a professional multi-panel layout is the primary requirement; Pro character sheets use Sunburst unless the user names another model. If GPT Image 2.5 Sunburst is unavailable for detail-critical layout work, fall back to full "qwen", never "qwen-lightning". Krea identity edit models require at least one reference image, accept up to two context images, and work best at 512-2048px. Set "flux-3-klein" when the user asks for FLUX 3 or FLUX 3 Image Klein; it accepts 1-10 reference images and works at 256-4096px, including 4K. For it, describe the whole result as a full scene caption that folds the requested change into a description of the reference, and refer to references in order (the first image, the second image); guidance is fixed and a negative prompt has no effect, so do not send one. Let the model tier and worker choose their current steps, guidance, sampler, scheduler, grounding, and reference-boost defaults; do not send a negative prompt. Put the base scene/image first and a person/detail reference second. Z-image, Z-image Turbo, and base Krea 2 Turbo are generate_image img2img models, not edit_image selectors. If the user names another edit/image model, honor it. GPT Image 2 always processes input images at high fidelity; do not set input_fidelity. GPT Image 2.5 adds two distinct models: use "gpt-image-2.5-sunburst" for an explicit Sunburst request and "gpt-image-2.5-flare" for an explicit Flare request. For GPT Image 2.5 without a named variant, use Flare. Preserve explicit GPT Image 2.0 as "gpt-image-2". Sunburst is positioned for difficult images and precise edits; Flare for faster everyday generation. Both generate and edit. Model choice is independent of rendering quality. ' +
|
|
85
|
-
toolPromptMarkers_js_1.SEEDREAM_5_PRO_UNCENSORED_MODEL_DESCRIPTION,
|
|
85
|
+
toolPromptMarkers_js_1.SEEDREAM_5_PRO_UNCENSORED_MODEL_DESCRIPTION + ' For a reference-guided animated GIF, select gpt-image-2.6-flare unless another compatible 2.6 variant is requested; set outputFormat to gif and describe the motion. Masks and markup cannot combine with GIF.',
|
|
86
86
|
},
|
|
87
87
|
sourceImageIndex: {
|
|
88
88
|
type: 'number',
|
|
@@ -128,6 +128,8 @@ ${loraGuidance_js_1.KREA2_LORA_CATALOG_REFERENCE}`,
|
|
|
128
128
|
description: `${index_js_1.ASPECT_RATIO_DESCRIPTION}\n\nSet this whenever the user specifies an image or downstream video orientation/aspect ratio such as 9:16, 16:9, portrait, vertical, landscape, widescreen, TikTok/Reels/Shorts, or exact pixels. This includes selection-gated reference-guided image batches that will feed a later video or dance after the user picks one. For GPT Image 2 exact size requests, preserve exact pixel intent when possible and prefer popular GPT sizes such as 1536x1024, 1024x1536, 2048x1152, 3840x2160, and 2160x3840. Sogni does not expose transparent output for GPT Image 2.0. For transparent assets, select GPT Image 2.5 Sunburst or Flare with gptImageBackground=transparent and PNG or WebP output.`,
|
|
129
129
|
},
|
|
130
130
|
gptImageComplexity: { type: 'string', enum: ['low', 'medium', 'high'], description: 'GPT Image 2.6 planning complexity. Default high. Lower settings can reduce latency for focused work; quality is separate.' },
|
|
131
|
+
gptImageFrameCount: { type: 'integer', minimum: 2, maximum: 16, description: 'GPT Image 2.6 GIF only: number of frames, default 9. Frame dimensions times count must fit the request pixel budget.' },
|
|
132
|
+
gptImageFrameDurationMs: { type: 'integer', minimum: 20, maximum: 2000, description: 'GPT Image 2.6 GIF only: milliseconds per frame, rounded to 10 ms. Default 200.' },
|
|
131
133
|
markup_image_url: { type: 'string', description: 'GPT Image 2.6 edits: annotation layer URL for the FIRST reference, guiding where the prompted change applies. Cannot combine with an edit mask.' },
|
|
132
134
|
gptImageQuality: {
|
|
133
135
|
type: 'string',
|
|
@@ -151,8 +153,8 @@ ${loraGuidance_js_1.KREA2_LORA_CATALOG_REFERENCE}`,
|
|
|
151
153
|
},
|
|
152
154
|
outputFormat: {
|
|
153
155
|
type: 'string',
|
|
154
|
-
enum: ['png', 'jpg', 'jpeg', 'webp'],
|
|
155
|
-
description: '
|
|
156
|
+
enum: ['png', 'jpg', 'jpeg', 'webp', 'gif'],
|
|
157
|
+
description: 'Set only when the user explicitly requests a file format. Otherwise leave outputFormat unset. GIF requires GPT Image 2.6 Sunburst or Flare and supports ordered reference images; masks and markup cannot combine with GIF. Hosts should normalize "jpeg" to the Sogni project format "jpg".',
|
|
156
158
|
},
|
|
157
159
|
personaName: {
|
|
158
160
|
type: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../../src/tools/definitions/edit-image/definition.ts"],"names":[],"mappings":";;;AAMA,kEAIsC;AACtC,wFAAqF;AACrF,0EAAkF;AAClF,sDAAmE;AACnE,kFAAsG;AAEzF,QAAA,UAAU,GAAmB;IACxC,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE;QACR,IAAI,EAAE,YAAY;QAClB,WAAW,EACT,
|
|
1
|
+
{"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../../src/tools/definitions/edit-image/definition.ts"],"names":[],"mappings":";;;AAMA,kEAIsC;AACtC,wFAAqF;AACrF,0EAAkF;AAClF,sDAAmE;AACnE,kFAAsG;AAEzF,QAAA,UAAU,GAAmB;IACxC,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE;QACR,IAAI,EAAE,YAAY;QAClB,WAAW,EACT,6tCAA6tC;QAC/tC,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE;;EAErB,iDAAuB;;;;;;;EAOvB,8CAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+oBAuCknB;iBACtoB;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE;wBACJ,aAAa;wBACb,wBAAwB;wBACxB,qBAAqB;wBACrB,wBAAwB;wBACxB,qBAAqB;wBACrB,6BAA6B;wBAC7B,gBAAgB;wBAChB,MAAM;wBACN,oBAAoB;wBACpB,gCAAgC;wBAChC,cAAc;qBACf;oBACD,WAAW,EACT,yyFAAyyF;wBACzyF,kEAA2C,GAAG,iNAAiN;iBAClQ;gBACD,gBAAgB,EAAE;oBAChB,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,kiBAAkiB;iBACriB;gBACD,kBAAkB,EAAE;oBAClB,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;oBACzB,WAAW,EACT,ulBAAulB;iBAC1lB;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,OAAO;oBACb,QAAQ,EAAE,CAAC;oBACX,QAAQ,EAAE,CAAC;oBACX,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;oBACvC,WAAW,EAAE,scAAsc,wCAAsB;;EAEjf,8CAA4B,EAAE;iBACvB;g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,QAAQ;oBACd,WAAW,EACT,mVAAmV;iBACtV;gBACD,kBAAkB,EAAE;oBAClB,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,aAAa,CAAC;oBACvC,WAAW,EAAE,gKAAgK;iBAC9K;gBACD,yBAAyB,EAAE;oBACzB,IAAI,EAAE,SAAS;oBACf,OAAO,EAAE,CAAC;oBACV,OAAO,EAAE,GAAG;oBACZ,WAAW,EAAE,+EAA+E;iBAC7F;gBACD,YAAY,EAAE;oBACZ,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC;oBAC3C,WAAW,EACT,8RAA8R;iBACjS;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,2jBAA2jB;iBAC9jB;aACF;YACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;SACrB;KACF;CACF,CAAC"}
|
|
@@ -49,7 +49,7 @@ VIDEO KEYFRAMES: When generating images intended as first+last frames for video
|
|
|
49
49
|
model: {
|
|
50
50
|
type: 'string',
|
|
51
51
|
enum: modelRegistry_js_1.GENERATE_IMAGE_MODELS.map(model => model.key),
|
|
52
|
-
description: 'DO NOT SET THIS PARAMETER unless the user names a specific model, requests an animated GIF, asks for a very complex image render, asks for a video storyboard/storyboard sheet/contact sheet/panel layout image, asks for anime without naming a model, requests permitted NSFW/nudity content, or explicitly asks for Z-image/Z-image Turbo/Krea 2 Turbo image-to-image. The app auto-selects based on quality settings. For an animated GIF, select gpt-image-2.6-flare unless the user names another compatible 2.6 variant; use generate_image
|
|
52
|
+
description: 'DO NOT SET THIS PARAMETER unless the user names a specific model, requests an animated GIF, asks for a very complex image render, asks for a video storyboard/storyboard sheet/contact sheet/panel layout image, asks for anime without naming a model, requests permitted NSFW/nudity content, or explicitly asks for Z-image/Z-image Turbo/Krea 2 Turbo image-to-image. The app auto-selects based on quality settings. For an animated GIF, select gpt-image-2.6-flare unless the user names another compatible 2.6 variant; use generate_image without references, or edit_image when reference images guide the animation. Set "gpt-image-2.5-flare" when the user asks for a ChatGPT, OpenAI, GPT, or GPT Image image/model without naming a version. Set "gpt-image-2" only when the user explicitly names GPT Image 2, GPT-2, or gpt-image-2; GPT Image 2 is never a default. Set "gpt-image-2.5-sunburst" when the user explicitly requests very strong text rendering, and by default for video storyboards and other complex single-image renders that need dense labels, crisp typography, multi-panel composition, timing notes, foley notes, professional storyboard-sheet layout, or a comprehensive character/mascot/model sheet with turnarounds, expressions, accessories, palette swatches, and brand notes. Set "one-obsession-v22" when the user asks for an anime or anime-style image and has not named a specific image model. Set "z-turbo" when the user asks for Z-image Turbo; set "z-image" when they ask for Z-image without Turbo. Set "krea-2-turbo" when the user asks for Krea 2 Turbo. Set "flux-3-klein" when the user asks for FLUX 3 or FLUX 3 Image Klein. If the user names another image model, honor that requested model instead. A model preference usually does not change which tool to use; the Z-image and Krea 2 Turbo image-to-image exception uses sourceImageIndex plus starting_image_strength on this tool. NSFW rule: GPT Image models, Qwen image models, and FLUX 3 Image Klein CANNOT do nudity. For permitted NSFW/nudity content, prefer "dark-beast-krea2", then "dark-beast-z-turbo"; "chroma1-hd", "pony-v7", "chroma-detail", "chroma-v46-flash", "z-turbo", "moss-image", and "moss-image-8step" are compatible fallbacks. GPT Image 2.5 adds two distinct models: use "gpt-image-2.5-sunburst" for an explicit Sunburst request and "gpt-image-2.5-flare" for an explicit Flare request. For GPT Image 2.5 without a named variant, use Flare. Preserve explicit GPT Image 2.0 as "gpt-image-2". Sunburst is positioned for difficult images and precise edits; Flare for faster everyday generation. Both generate and edit. Model choice is independent of rendering quality. Set "moss-image" when the user requests MOSS-Image or MOSS-Image SFT. Set "moss-image-8step" when the user requests MOSS 8-step or MOSS DMD; this preset uses 8 steps and guidance 1. Both MOSS presets are uncensored and support compatible Personal LoRAs. MOSS-Image SFT is text-to-image only; it has no uploaded-image instruction-editing input. For its JSON layouts, send one complete literal layout per call; numberOfVariations varies seeds. Use separate calls for different layouts, and do not put Dynamic Prompt choices inside layout JSON. ' +
|
|
53
53
|
toolPromptMarkers_js_1.SEEDREAM_5_PRO_UNCENSORED_MODEL_DESCRIPTION,
|
|
54
54
|
},
|
|
55
55
|
width: {
|
|
@@ -130,7 +130,7 @@ VIDEO KEYFRAMES: When generating images intended as first+last frames for video
|
|
|
130
130
|
outputFormat: {
|
|
131
131
|
type: 'string',
|
|
132
132
|
enum: ['png', 'jpg', 'jpeg', 'webp', 'gif'],
|
|
133
|
-
description: '
|
|
133
|
+
description: 'Set only when the user explicitly requests a file format. Otherwise leave outputFormat unset. GIF requires GPT Image 2.6. Use edit_image when reference images guide the animation. Normalize jpeg to jpg.',
|
|
134
134
|
},
|
|
135
135
|
aspectRatio: {
|
|
136
136
|
type: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../../src/tools/definitions/generate-image/definition.ts"],"names":[],"mappings":";;;AAMA,kEAKsC;AACtC,wFAAqF;AACrF,sDAAmE;AACnE,kFAAsG;AACtG,oEAAsE;AAEzD,QAAA,UAAU,GAAmB;IACxC,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE;QACR,IAAI,EAAE,gBAAgB;QACtB,WAAW,EACT,g0BAAg0B;QACl0B,UAAU,EAAE;YACV,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,MAAM,EAAE;oBACN,IAAI,EAAE,QAAQ;oBACd,WAAW,EAAE;;EAErB,iDAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;siBA0B6gB;iBAC7hB;gBACD,KAAK,EAAE;oBACL,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,wCAAqB,CAAC,GAAG,CAAC,KAAK,CAAC,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC;oBACnD,WAAW,EACT,
|
|
1
|
+
{"version":3,"file":"definition.js","sourceRoot":"","sources":["../../../../src/tools/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O,EAAE,KAAK,CAAC;oBAC/C,WAAW,EACT,kcAAkc;iBACrc;gBACD,kBAAkB,EAAE;oBAClB,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,MAAM,EAAE,QAAQ,EAAE,aAAa,CAAC;oBACvC,WAAW,EAAE,gKAAgK;iBAC9K;gBACD,yBAAyB,EAAE;oBACzB,IAAI,EAAE,SAAS;oBACf,OAAO,EAAE,CAAC;oBACV,OAAO,EAAE,GAAG;oBACZ,WAAW,EAAE,+EAA+E;iBAC7F;gBACD,YAAY,EAAE;oBACZ,IAAI,EAAE,QAAQ;oBACd,IAAI,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,KAAK,CAAC;oBAC3C,WAAW,EACT,4MAA4M;iBAC/M;gBACD,WAAW,EAAE;oBACX,IAAI,EAAE,QAAQ;oBACd,WAAW,EACT,GAAG,mCAAwB,upBAAupB;iBACrrB;aACF;YACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;SACrB;KACF;CACF,CAAC"}
|
|
@@ -306,9 +306,12 @@ export function getGptImageRequestOptions(args, modelId) {
|
|
|
306
306
|
const frameDuration = args.gptImageFrameDurationMs ?? args.gpt_image_frame_duration_ms;
|
|
307
307
|
const markup = args.gptImageMarkupUrl ?? args.markup_image_url;
|
|
308
308
|
const format26 = normalizeImageOutputFormat(args.outputFormat ?? args.output_format);
|
|
309
|
+
const mask = args.mask_image_url ?? args.gptImageMaskUrl;
|
|
309
310
|
const has26 = [complexity, frameCount, frameDuration, markup].some(v => v !== undefined) || format26 === 'gif';
|
|
310
311
|
if (has26 && !isGptImage26Model(modelId))
|
|
311
312
|
throw new Error('GIF, complexity and markup require GPT Image 2.6');
|
|
313
|
+
if (format26 === 'gif' && (mask !== undefined || markup !== undefined))
|
|
314
|
+
throw new Error('GIF output cannot combine with masks or markup');
|
|
312
315
|
if (complexity !== undefined && !['low', 'medium', 'high'].includes(String(complexity)))
|
|
313
316
|
throw new Error('Unsupported complexity');
|
|
314
317
|
if (format26 !== 'gif' && (frameCount !== undefined || frameDuration !== undefined))
|
|
@@ -327,7 +330,6 @@ export function getGptImageRequestOptions(args, modelId) {
|
|
|
327
330
|
};
|
|
328
331
|
const background = args.gptImageBackground ?? args.gpt_image_background;
|
|
329
332
|
const compression = args.gptImageOutputCompression ?? args.gpt_image_output_compression;
|
|
330
|
-
const mask = args.mask_image_url ?? args.gptImageMaskUrl;
|
|
331
333
|
if (background === undefined && compression === undefined && mask === undefined)
|
|
332
334
|
return advanced;
|
|
333
335
|
if (!isGptImageModel(modelId))
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"gptImage.js","sourceRoot":"","sources":["../../src/media/gptImage.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,wBAAwB,CAAC;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,EAAE,2CAA2C,EAAE,MAAM,qBAAqB,CAAC;AAQlF,MAAM,CAAC,MAAM,mBAAmB,GAAG,aAAa,CAAC;AACjD,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC,aAAa,EAAE,wBAAwB,EAAE,qBAAqB,EAAE,wBAAwB,EAAE,qBAAqB,CAAU,CAAC;AAE9J,MAAM,CAAC,MAAM,+BAA+B,GAAG,wBAAwB,CAAC;AACxE,MAAM,CAAC,MAAM,4BAA4B,GAAG,qBAAqB,CAAC;AAQlE,MAAM,CAAC,MAAM,2BAA2B,GAAG,4BAA4B,CAAC;AACxE,MAAM,CAAC,MAAM,kCAAkC,GAAG,+BAA+B,CAAC;AAElF,MAAM,UAAU,eAAe,CAAC,KAAc;IAC5C,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAK,mBAAyC,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;AACjG,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,KAAc;IAC9C,OAAO,KAAK,KAAK,+BAA+B,IAAI,KAAK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CAAC,CAAC;IACzQ,IAAI,IAAI,KAAK,SAAS,IAAI,CAAC,OAAO,IAAI,KAAK,QAAQ,IAAI,CAAC,IAAI,CAAC,IAAI,EAAE,CAAC;QAAE,MAAM,IAAI,KAAK,CAAC,wDAAwD,CAAC,CAAC;IAChJ,OAAO;QACL,GAAG,QAAQ;QACX,GAAG,CAAC,UAAU,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,kBAAkB,EAAE,UAA+C,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC5G,GAAG,CAAC,WAAW,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,yBAAyB,EAAE,WAAqB,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;QAC1F,GAAG,CAAC,IAAI,KAAK,SAAS,CAAC,CAAC,CAAC,EAAE,eAAe,EAAE,IAAc,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC;KACnE,CAAC;AACJ,CAAC"}
|
|
@@ -1015,7 +1015,7 @@ export const generationToolsManifest = {
|
|
|
1015
1015
|
"gpt-image-2.6-sunburst",
|
|
1016
1016
|
"gpt-image-2.6-flare"
|
|
1017
1017
|
],
|
|
1018
|
-
"description": "DO NOT SET THIS PARAMETER unless the user names a specific model, requests an animated GIF, asks for a very complex image render, asks for a video storyboard/storyboard sheet/contact sheet/panel layout image, asks for anime without naming a model, requests permitted NSFW/nudity content, or explicitly asks for Z-image/Z-image Turbo/Krea 2 Turbo image-to-image. The app auto-selects based on quality settings. For an animated GIF, select gpt-image-2.6-flare unless the user names another compatible 2.6 variant; use generate_image
|
|
1018
|
+
"description": "DO NOT SET THIS PARAMETER unless the user names a specific model, requests an animated GIF, asks for a very complex image render, asks for a video storyboard/storyboard sheet/contact sheet/panel layout image, asks for anime without naming a model, requests permitted NSFW/nudity content, or explicitly asks for Z-image/Z-image Turbo/Krea 2 Turbo image-to-image. The app auto-selects based on quality settings. For an animated GIF, select gpt-image-2.6-flare unless the user names another compatible 2.6 variant; use generate_image without references, or edit_image when reference images guide the animation. Set \"gpt-image-2.5-flare\" when the user asks for a ChatGPT, OpenAI, GPT, or GPT Image image/model without naming a version. Set \"gpt-image-2\" only when the user explicitly names GPT Image 2, GPT-2, or gpt-image-2; GPT Image 2 is never a default. Set \"gpt-image-2.5-sunburst\" when the user explicitly requests very strong text rendering, and by default for video storyboards and other complex single-image renders that need dense labels, crisp typography, multi-panel composition, timing notes, foley notes, professional storyboard-sheet layout, or a comprehensive character/mascot/model sheet with turnarounds, expressions, accessories, palette swatches, and brand notes. Set \"one-obsession-v22\" when the user asks for an anime or anime-style image and has not named a specific image model. Set \"z-turbo\" when the user asks for Z-image Turbo; set \"z-image\" when they ask for Z-image without Turbo. Set \"krea-2-turbo\" when the user asks for Krea 2 Turbo. Set \"flux-3-klein\" when the user asks for FLUX 3 or FLUX 3 Image Klein. If the user names another image model, honor that requested model instead. A model preference usually does not change which tool to use; the Z-image and Krea 2 Turbo image-to-image exception uses sourceImageIndex plus starting_image_strength on this tool. NSFW rule: GPT Image models and Qwen image models CANNOT do nudity. For permitted NSFW/nudity content, prefer \"dark-beast-krea2\", then \"dark-beast-z-turbo\"; \"chroma1-hd\", \"pony-v7\", \"chroma-detail\", \"chroma-v46-flash\", \"z-turbo\", \"moss-image\", and \"moss-image-8step\" are compatible fallbacks. GPT Image 2.5 adds two distinct models: use \"gpt-image-2.5-sunburst\" for an explicit Sunburst request and \"gpt-image-2.5-flare\" for an explicit Flare request. For GPT Image 2.5 without a named variant, use Flare. Preserve explicit GPT Image 2.0 as \"gpt-image-2\". Sunburst is positioned for difficult images and precise edits; Flare for faster everyday generation. Both generate and edit. Model choice is independent of rendering quality. Set \"moss-image\" when the user requests MOSS-Image or MOSS-Image SFT. Set \"moss-image-8step\" when the user requests MOSS 8-step or MOSS DMD; this preset uses 8 steps and guidance 1. Both MOSS presets are uncensored and support compatible Personal LoRAs. MOSS-Image SFT is text-to-image only; it has no uploaded-image instruction-editing input. For its JSON layouts, send one complete literal layout per call; numberOfVariations varies seeds. Use separate calls for different layouts, and do not put Dynamic Prompt choices inside layout JSON."
|
|
1019
1019
|
},
|
|
1020
1020
|
"width": {
|
|
1021
1021
|
"type": "number",
|
|
@@ -1090,7 +1090,7 @@ export const generationToolsManifest = {
|
|
|
1090
1090
|
"webp",
|
|
1091
1091
|
"gif"
|
|
1092
1092
|
],
|
|
1093
|
-
"description": "
|
|
1093
|
+
"description": "Set only when the user explicitly requests a file format. Otherwise leave outputFormat unset. GIF requires GPT Image 2.6. Use edit_image when reference images guide the animation. Normalize jpeg to jpg."
|
|
1094
1094
|
},
|
|
1095
1095
|
"aspectRatio": {
|
|
1096
1096
|
"type": "string",
|
|
@@ -1493,7 +1493,7 @@ export const generationToolsManifest = {
|
|
|
1493
1493
|
"type": "function",
|
|
1494
1494
|
"function": {
|
|
1495
1495
|
"name": "edit_image",
|
|
1496
|
-
"description": "Generate or edit images using reference photos. Supports GPT Image 2 up to 16 images, FLUX 3 Image Klein up to 10, Qwen up to 3, and Krea 2 Identity Edit with 1-2. This is the required tool for identity-sensitive edits of a referenced person or character: wardrobe, makeover, pose/repositioning, face/head/body swap, background or lighting changes, character-consistent style transfer, persona scene creation, and non-Pro single-character sheets. Use model=\"krea-identity-edit\" for those by default unless the user explicitly names another model. Keep the primary base/scene image first and an optional person/detail reference second. Use this instead of generate_image whenever uploaded/persona assets must guide the result. Use restore_photo/refine_result/apply_style only for identity-neutral restoration or edits; a portrait follow-up that must preserve likeness stays on edit_image. Exception: explicit Z-image/Z-image Turbo/base Krea 2 Turbo img2img uses generate_image with sourceImageIndex and starting_image_strength.",
|
|
1496
|
+
"description": "Generate or edit images using reference photos. Supports GPT Image 2 up to 16 images, FLUX 3 Image Klein up to 10, Qwen up to 3, and Krea 2 Identity Edit with 1-2. This is the required tool for identity-sensitive edits of a referenced person or character: wardrobe, makeover, pose/repositioning, face/head/body swap, background or lighting changes, character-consistent style transfer, persona scene creation, and non-Pro single-character sheets. Use model=\"krea-identity-edit\" for those by default unless the user explicitly names another model. Keep the primary base/scene image first and an optional person/detail reference second. Use this instead of generate_image whenever uploaded/persona assets must guide the result. Use restore_photo/refine_result/apply_style only for identity-neutral restoration or edits; a portrait follow-up that must preserve likeness stays on edit_image. Exception: explicit Z-image/Z-image Turbo/base Krea 2 Turbo img2img uses generate_image with sourceImageIndex and starting_image_strength. For an animated GIF, select gpt-image-2.6-flare unless the user names another compatible 2.6 variant; use edit_image when reference images guide the animation and generate_image otherwise. Set outputFormat=gif and describe the motion and loop. GIF output cannot combine with masks or markup.",
|
|
1497
1497
|
"parameters": {
|
|
1498
1498
|
"type": "object",
|
|
1499
1499
|
"properties": {
|
|
@@ -1515,7 +1515,7 @@ export const generationToolsManifest = {
|
|
|
1515
1515
|
"gpt-image-2.6-sunburst",
|
|
1516
1516
|
"gpt-image-2.6-flare"
|
|
1517
1517
|
],
|
|
1518
|
-
"description": "The app auto-selects Fast→Qwen Lightning and HQ/Pro→full Qwen only for ordinary identity-neutral edits. REQUIRED IDENTITY DEFAULT: set \"krea-identity-edit\" whenever an edit of a referenced person or character must keep likeness or character identity while changing clothing, hair or makeup, pose or position, face/head/body, background, lighting, or visual style. Infer that semantic intent in any language; never route from keyword or regex matching. Also use it for a non-Pro single-character sheet. This default applies even when the user did not name Krea; an explicitly requested model always wins. Set \"dark-beast-krea2-identity-edit\" only when the user explicitly requests that model, its uncensored/community variant, or dark_beast_krea2_identity_edit_v1_2. Set \"gpt-image-2\" only when the user explicitly names legacy GPT Image 2 (GPT Image 2, GPT-2, or gpt-image-2); it is never a default. A ChatGPT, OpenAI, GPT, or GPT Image edit request that names no version uses \"gpt-image-2.5-flare\". Set \"gpt-image-2.5-sunburst\" when precise typography, dense labels, or a professional multi-panel layout is the primary requirement; Pro character sheets use Sunburst unless the user names another model. If GPT Image 2.5 Sunburst is unavailable for detail-critical layout work, fall back to full \"qwen\", never \"qwen-lightning\". Krea identity edit models require at least one reference image, accept up to two context images, and work best at 512-2048px. Set \"flux-3-klein\" when the user asks for FLUX 3 or FLUX 3 Image Klein; it accepts 1-10 reference images and works at 256-4096px, including 4K. For it, describe the whole result as a full scene caption that folds the requested change into a description of the reference, and refer to references in order (the first image, the second image); guidance is fixed and a negative prompt has no effect, so do not send one. Let the model tier and worker choose current steps, guidance, sampler, scheduler, grounding, and reference-boost defaults; do not send a negative prompt. When Krea is selected, override the generic prompt-length guidance with a concise 1-4 sentence delta instruction; name only the requested change and details that must remain fixed. Put the base scene/image first and an optional person/detail reference second. Z-image, Z-image Turbo, and base Krea 2 Turbo are generate_image img2img models, not edit_image selectors. If the user names another edit/image model, honor it. GPT Image 2 always processes input images at high fidelity; do not set input_fidelity. GPT Image 2.5 adds two distinct models: use \"gpt-image-2.5-sunburst\" for an explicit Sunburst request and \"gpt-image-2.5-flare\" for an explicit Flare request. For GPT Image 2.5 without a named variant, use Flare. Preserve explicit GPT Image 2.0 as \"gpt-image-2\". Sunburst is positioned for difficult images and precise edits; Flare for faster everyday generation. Both generate and edit. Model choice is independent of rendering quality."
|
|
1518
|
+
"description": "The app auto-selects Fast→Qwen Lightning and HQ/Pro→full Qwen only for ordinary identity-neutral edits. REQUIRED IDENTITY DEFAULT: set \"krea-identity-edit\" whenever an edit of a referenced person or character must keep likeness or character identity while changing clothing, hair or makeup, pose or position, face/head/body, background, lighting, or visual style. Infer that semantic intent in any language; never route from keyword or regex matching. Also use it for a non-Pro single-character sheet. This default applies even when the user did not name Krea; an explicitly requested model always wins. Set \"dark-beast-krea2-identity-edit\" only when the user explicitly requests that model, its uncensored/community variant, or dark_beast_krea2_identity_edit_v1_2. Set \"gpt-image-2\" only when the user explicitly names legacy GPT Image 2 (GPT Image 2, GPT-2, or gpt-image-2); it is never a default. A ChatGPT, OpenAI, GPT, or GPT Image edit request that names no version uses \"gpt-image-2.5-flare\". Set \"gpt-image-2.5-sunburst\" when precise typography, dense labels, or a professional multi-panel layout is the primary requirement; Pro character sheets use Sunburst unless the user names another model. If GPT Image 2.5 Sunburst is unavailable for detail-critical layout work, fall back to full \"qwen\", never \"qwen-lightning\". Krea identity edit models require at least one reference image, accept up to two context images, and work best at 512-2048px. Set \"flux-3-klein\" when the user asks for FLUX 3 or FLUX 3 Image Klein; it accepts 1-10 reference images and works at 256-4096px, including 4K. For it, describe the whole result as a full scene caption that folds the requested change into a description of the reference, and refer to references in order (the first image, the second image); guidance is fixed and a negative prompt has no effect, so do not send one. Let the model tier and worker choose current steps, guidance, sampler, scheduler, grounding, and reference-boost defaults; do not send a negative prompt. When Krea is selected, override the generic prompt-length guidance with a concise 1-4 sentence delta instruction; name only the requested change and details that must remain fixed. Put the base scene/image first and an optional person/detail reference second. Z-image, Z-image Turbo, and base Krea 2 Turbo are generate_image img2img models, not edit_image selectors. If the user names another edit/image model, honor it. GPT Image 2 always processes input images at high fidelity; do not set input_fidelity. GPT Image 2.5 adds two distinct models: use \"gpt-image-2.5-sunburst\" for an explicit Sunburst request and \"gpt-image-2.5-flare\" for an explicit Flare request. For GPT Image 2.5 without a named variant, use Flare. Preserve explicit GPT Image 2.0 as \"gpt-image-2\". Sunburst is positioned for difficult images and precise edits; Flare for faster everyday generation. Both generate and edit. Model choice is independent of rendering quality. For an animated GIF, select gpt-image-2.6-flare unless the user names another compatible 2.6 variant; use edit_image when reference images guide the animation and generate_image otherwise. Set outputFormat=gif and describe the motion and loop. GIF output cannot combine with masks or markup."
|
|
1519
1519
|
},
|
|
1520
1520
|
"sourceImageIndex": {
|
|
1521
1521
|
"type": "number",
|
|
@@ -1575,9 +1575,10 @@ export const generationToolsManifest = {
|
|
|
1575
1575
|
"png",
|
|
1576
1576
|
"jpg",
|
|
1577
1577
|
"jpeg",
|
|
1578
|
-
"webp"
|
|
1578
|
+
"webp",
|
|
1579
|
+
"gif"
|
|
1579
1580
|
],
|
|
1580
|
-
"description": "
|
|
1581
|
+
"description": "Set only when the user explicitly requests a file format. Otherwise leave outputFormat unset. GIF requires GPT Image 2.6 Sunburst or Flare and supports ordered reference images; masks and markup cannot combine with GIF. Hosts should normalize \"jpeg\" to the Sogni project format \"jpg\"."
|
|
1581
1582
|
},
|
|
1582
1583
|
"personaName": {
|
|
1583
1584
|
"type": "string",
|
|
@@ -1614,6 +1615,18 @@ export const generationToolsManifest = {
|
|
|
1614
1615
|
"markup_image_url": {
|
|
1615
1616
|
"type": "string",
|
|
1616
1617
|
"description": "GPT Image 2.6 edit annotation layer for the first reference. Cannot combine with mask_image_url."
|
|
1618
|
+
},
|
|
1619
|
+
"gptImageFrameCount": {
|
|
1620
|
+
"type": "integer",
|
|
1621
|
+
"minimum": 2,
|
|
1622
|
+
"maximum": 16,
|
|
1623
|
+
"description": "GPT Image 2.6 GIF only: frame count, default 9. Frames must fit the request pixel budget."
|
|
1624
|
+
},
|
|
1625
|
+
"gptImageFrameDurationMs": {
|
|
1626
|
+
"type": "integer",
|
|
1627
|
+
"minimum": 20,
|
|
1628
|
+
"maximum": 2000,
|
|
1629
|
+
"description": "GPT Image 2.6 GIF only: milliseconds per frame, rounded to 10 ms; default 200."
|
|
1617
1630
|
}
|
|
1618
1631
|
},
|
|
1619
1632
|
"required": [
|
|
@@ -1684,7 +1697,7 @@ export const generationToolsManifest = {
|
|
|
1684
1697
|
"fast",
|
|
1685
1698
|
"hq"
|
|
1686
1699
|
],
|
|
1687
|
-
"description": "DO NOT SET THIS PARAMETER unless the user explicitly asks for \"high quality\" or \"fast\". The app auto-selects based on quality settings.
|
|
1700
|
+
"description": "DO NOT SET THIS PARAMETER unless the user explicitly asks for \"high quality\" or \"fast\". The app auto-selects based on quality settings."
|
|
1688
1701
|
},
|
|
1689
1702
|
"scale": {
|
|
1690
1703
|
"type": "number",
|