Skip to content

Commit a431c14

Browse files
committed
feat(providers): add GPT Image 2.5 models
1 parent 3297073 commit a431c14

16 files changed

Lines changed: 1461 additions & 70 deletions

packages/fal-codegen/src/configs/image-to-image.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5104,6 +5104,32 @@ export const config: ModuleConfig = {
51045104
"Rapid prototyping"
51055105
]
51065106
},
5107+
"openai/gpt-image-2.5/flare/edit": {
5108+
className: "GptImage25FlareEdit",
5109+
docstring: "Edit images with OpenAI GPT Image 2.5 Flare.",
5110+
tags: ["editing", "image-to-image", "img2img", "openai", "gpt-image"],
5111+
fieldOverrides: { image_size: { acceptsObject: true } },
5112+
useCases: [
5113+
"Automated content generation",
5114+
"Creative workflows",
5115+
"Batch processing",
5116+
"Professional applications",
5117+
"Rapid prototyping"
5118+
]
5119+
},
5120+
"openai/gpt-image-2.5/sunburst/edit": {
5121+
className: "GptImage25SunburstEdit",
5122+
docstring: "Edit images with OpenAI GPT Image 2.5 Sunburst.",
5123+
tags: ["editing", "image-to-image", "img2img", "openai", "gpt-image"],
5124+
fieldOverrides: { image_size: { acceptsObject: true } },
5125+
useCases: [
5126+
"Automated content generation",
5127+
"Creative workflows",
5128+
"Batch processing",
5129+
"Professional applications",
5130+
"Rapid prototyping"
5131+
]
5132+
},
51075133
"fal-ai/bytedance/seedream/v5/lite/edit": {
51085134
className: "BytedanceSeedreamV5LiteEdit",
51095135
docstring: "Edit images with ByteDance Seedream v5 Lite.",

packages/fal-codegen/src/configs/text-to-image.ts

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2706,6 +2706,32 @@ export const config: ModuleConfig = {
27062706
"Rapid prototyping"
27072707
]
27082708
},
2709+
"openai/gpt-image-2.5/flare/text-to-image": {
2710+
className: "GptImage25FlareTextToImage",
2711+
docstring: "OpenAI GPT Image 2.5 Flare text-to-image generation.",
2712+
tags: ["generation", "text-to-image", "txt2img", "openai", "gpt-image"],
2713+
fieldOverrides: { image_size: { acceptsObject: true } },
2714+
useCases: [
2715+
"Automated content generation",
2716+
"Creative workflows",
2717+
"Batch processing",
2718+
"Professional applications",
2719+
"Rapid prototyping"
2720+
]
2721+
},
2722+
"openai/gpt-image-2.5/sunburst/text-to-image": {
2723+
className: "GptImage25SunburstTextToImage",
2724+
docstring: "OpenAI GPT Image 2.5 Sunburst text-to-image generation.",
2725+
tags: ["generation", "text-to-image", "txt2img", "openai", "gpt-image"],
2726+
fieldOverrides: { image_size: { acceptsObject: true } },
2727+
useCases: [
2728+
"Automated content generation",
2729+
"Creative workflows",
2730+
"Batch processing",
2731+
"Professional applications",
2732+
"Rapid prototyping"
2733+
]
2734+
},
27092735
"imagineart/imagineart-2.0-preview/text-to-image": {
27102736
className: "ImagineartImagineart20PreviewTextToImage",
27112737
docstring: "ImagineArt 2.0 Preview text-to-image.",

packages/fal-codegen/src/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ export interface FieldDef {
1515
required: boolean;
1616
enumRef?: string; // Name of referenced enum
1717
enumValues?: string[]; // Raw values for @prop values array
18+
acceptsObject?: boolean; // The API accepts an object in addition to the primary propType
1819
nestedAssetKey?: string; // Key inside nested object for asset URL
1920
parentField?: string; // If part of a nested structure
2021
min?: number;

0 commit comments

Comments
 (0)