@caupulican/pi-ai 0.75.6 → 0.78.2
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/README.md +1 -1
- package/dist/image-models.generated.d.ts.map +1 -1
- package/dist/image-models.generated.js +146 -146
- package/dist/image-models.generated.js.map +1 -1
- package/dist/models.generated.d.ts +399 -299
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +494 -455
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/amazon-bedrock.d.ts +1 -1
- package/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.js +38 -2
- package/dist/providers/amazon-bedrock.js.map +1 -1
- package/dist/providers/anthropic.d.ts.map +1 -1
- package/dist/providers/anthropic.js +21 -12
- package/dist/providers/anthropic.js.map +1 -1
- package/dist/providers/azure-openai-responses.d.ts.map +1 -1
- package/dist/providers/azure-openai-responses.js +6 -10
- package/dist/providers/azure-openai-responses.js.map +1 -1
- package/dist/providers/google-vertex.d.ts.map +1 -1
- package/dist/providers/google-vertex.js +1 -1
- package/dist/providers/google-vertex.js.map +1 -1
- package/dist/providers/google.d.ts.map +1 -1
- package/dist/providers/google.js +5 -3
- package/dist/providers/google.js.map +1 -1
- package/dist/providers/images/openrouter.d.ts.map +1 -1
- package/dist/providers/images/openrouter.js +3 -4
- package/dist/providers/images/openrouter.js.map +1 -1
- package/dist/providers/mistral.d.ts.map +1 -1
- package/dist/providers/mistral.js +2 -3
- package/dist/providers/mistral.js.map +1 -1
- package/dist/providers/openai-codex-responses.d.ts.map +1 -1
- package/dist/providers/openai-codex-responses.js +159 -78
- package/dist/providers/openai-codex-responses.js.map +1 -1
- package/dist/providers/openai-completions.d.ts.map +1 -1
- package/dist/providers/openai-completions.js +16 -11
- package/dist/providers/openai-completions.js.map +1 -1
- package/dist/providers/openai-responses-shared.d.ts.map +1 -1
- package/dist/providers/openai-responses-shared.js +4 -1
- package/dist/providers/openai-responses-shared.js.map +1 -1
- package/dist/providers/openai-responses.d.ts.map +1 -1
- package/dist/providers/openai-responses.js +6 -10
- package/dist/providers/openai-responses.js.map +1 -1
- package/dist/providers/simple-options.d.ts.map +1 -1
- package/dist/providers/simple-options.js +1 -0
- package/dist/providers/simple-options.js.map +1 -1
- package/dist/stream.d.ts.map +1 -1
- package/dist/stream.js +14 -2
- package/dist/stream.js.map +1 -1
- package/dist/types.d.ts +14 -4
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/abort-signals.d.ts +6 -0
- package/dist/utils/abort-signals.d.ts.map +1 -0
- package/dist/utils/abort-signals.js +34 -0
- package/dist/utils/abort-signals.js.map +1 -0
- package/dist/utils/oauth/device-code.d.ts +9 -7
- package/dist/utils/oauth/device-code.d.ts.map +1 -1
- package/dist/utils/oauth/device-code.js +8 -7
- package/dist/utils/oauth/device-code.js.map +1 -1
- package/dist/utils/oauth/github-copilot.d.ts.map +1 -1
- package/dist/utils/oauth/github-copilot.js +1 -1
- package/dist/utils/oauth/github-copilot.js.map +1 -1
- package/dist/utils/oauth/index.d.ts +1 -1
- package/dist/utils/oauth/index.d.ts.map +1 -1
- package/dist/utils/oauth/index.js +1 -1
- package/dist/utils/oauth/index.js.map +1 -1
- package/dist/utils/oauth/openai-codex.d.ts +10 -1
- package/dist/utils/oauth/openai-codex.d.ts.map +1 -1
- package/dist/utils/oauth/openai-codex.js +179 -79
- package/dist/utils/oauth/openai-codex.js.map +1 -1
- package/package.json +104 -91
package/README.md
CHANGED
|
@@ -938,7 +938,7 @@ interface OpenAICompletionsCompat {
|
|
|
938
938
|
requiresAssistantAfterToolResult?: boolean; // Whether tool results must be followed by an assistant message (default: false)
|
|
939
939
|
requiresThinkingAsText?: boolean; // Whether thinking blocks must be converted to text (default: false)
|
|
940
940
|
requiresReasoningContentOnAssistantMessages?: boolean; // Whether all replayed assistant messages must include empty reasoning_content when reasoning is enabled (default: auto-detected for DeepSeek)
|
|
941
|
-
thinkingFormat?: 'openai' | 'openrouter' | 'deepseek' | 'together' | 'zai' | 'qwen' | 'qwen-chat-template'; // Format for reasoning param: 'openai' uses reasoning_effort, 'openrouter' uses reasoning: { effort }, 'deepseek' uses thinking: { type } plus reasoning_effort, 'together' uses reasoning: { enabled } plus reasoning_effort when supported, 'zai' uses enable_thinking, 'qwen' uses enable_thinking, 'qwen-chat-template' uses chat_template_kwargs.enable_thinking (default: openai)
|
|
941
|
+
thinkingFormat?: 'openai' | 'openrouter' | 'deepseek' | 'together' | 'zai' | 'qwen' | 'qwen-chat-template'; // Format for reasoning param: 'openai' uses reasoning_effort, 'openrouter' uses reasoning: { effort }, 'deepseek' uses thinking: { type } plus reasoning_effort when supported, 'together' uses reasoning: { enabled } plus reasoning_effort when supported, 'zai' uses enable_thinking, 'qwen' uses enable_thinking, 'qwen-chat-template' uses chat_template_kwargs.enable_thinking (default: openai)
|
|
942
942
|
cacheControlFormat?: 'anthropic'; // Anthropic-style cache_control on system prompt, last tool, and last user/assistant text content
|
|
943
943
|
openRouterRouting?: OpenRouterRouting; // OpenRouter routing preferences (default: {})
|
|
944
944
|
vercelGatewayRouting?: VercelGatewayRouting; // Vercel AI Gateway routing preferences (default: {})
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"image-models.generated.d.ts","sourceRoot":"","sources":["../src/image-models.generated.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsbkD,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-image-models.ts\n// Do not edit manually - run 'npm run generate-image-models' to update\n\nimport type { ImagesApi, ImagesModel } from \"./types.ts\";\n\nexport const IMAGE_MODELS = {\n\topenrouter: {\n\t\t\"black-forest-labs/flux.2-flex\": {\n\t\t\tid: \"black-forest-labs/flux.2-flex\",\n\t\t\tname: \"Black Forest Labs: FLUX.2 Flex\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"black-forest-labs/flux.2-klein-4b\": {\n\t\t\tid: \"black-forest-labs/flux.2-klein-4b\",\n\t\t\tname: \"Black Forest Labs: FLUX.2 Klein 4B\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"black-forest-labs/flux.2-max\": {\n\t\t\tid: \"black-forest-labs/flux.2-max\",\n\t\t\tname: \"Black Forest Labs: FLUX.2 Max\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"black-forest-labs/flux.2-pro\": {\n\t\t\tid: \"black-forest-labs/flux.2-pro\",\n\t\t\tname: \"Black Forest Labs: FLUX.2 Pro\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"bytedance-seed/seedream-4.5\": {\n\t\t\tid: \"bytedance-seed/seedream-4.5\",\n\t\t\tname: \"ByteDance Seed: Seedream 4.5\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"image\", \"text\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"google/gemini-2.5-flash-image\": {\n\t\t\tid: \"google/gemini-2.5-flash-image\",\n\t\t\tname: \"Google: Nano Banana (Gemini 2.5 Flash Image)\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"image\", \"text\"],\n\t\t\toutput: [\"image\", \"text\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0.3,\n\t\t\t\toutput: 2.5,\n\t\t\t\tcacheRead: 0.03,\n\t\t\t\tcacheWrite: 0.08333333333333334,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"google/gemini-3-pro-image-preview\": {\n\t\t\tid: \"google/gemini-3-pro-image-preview\",\n\t\t\tname: \"Google: Nano Banana Pro (Gemini 3 Pro Image Preview)\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"image\", \"text\"],\n\t\t\toutput: [\"image\", \"text\"],\n\t\t\tcost: {\n\t\t\t\tinput: 2,\n\t\t\t\toutput: 12,\n\t\t\t\tcacheRead: 0.19999999999999998,\n\t\t\t\tcacheWrite: 0.375,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"google/gemini-3.1-flash-image-preview\": {\n\t\t\tid: \"google/gemini-3.1-flash-image-preview\",\n\t\t\tname: \"Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"image\", \"text\"],\n\t\t\toutput: [\"image\", \"text\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0.5,\n\t\t\t\toutput: 3,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"openai/gpt-5-image\": {\n\t\t\tid: \"openai/gpt-5-image\",\n\t\t\tname: \"OpenAI: GPT-5 Image\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"image\", \"text\"],\n\t\t\toutput: [\"image\", \"text\"],\n\t\t\tcost: {\n\t\t\t\tinput: 10,\n\t\t\t\toutput: 10,\n\t\t\t\tcacheRead: 1.25,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"openai/gpt-5-image-mini\": {\n\t\t\tid: \"openai/gpt-5-image-mini\",\n\t\t\tname: \"OpenAI: GPT-5 Image Mini\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"image\", \"text\"],\n\t\t\toutput: [\"image\", \"text\"],\n\t\t\tcost: {\n\t\t\t\tinput: 2.5,\n\t\t\t\toutput: 2,\n\t\t\t\tcacheRead: 0.25,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"openai/gpt-5.4-image-2\": {\n\t\t\tid: \"openai/gpt-5.4-image-2\",\n\t\t\tname: \"OpenAI: GPT-5.4 Image 2\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"image\", \"text\"],\n\t\t\toutput: [\"image\", \"text\"],\n\t\t\tcost: {\n\t\t\t\tinput: 8,\n\t\t\t\toutput: 15,\n\t\t\t\tcacheRead: 2,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"openrouter/auto\": {\n\t\t\tid: \"openrouter/auto\",\n\t\t\tname: \"Auto Router\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"text\", \"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: -1000000,\n\t\t\t\toutput: -1000000,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v3\": {\n\t\t\tid: \"recraft/recraft-v3\",\n\t\t\tname: \"Recraft: Recraft V3\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4\": {\n\t\t\tid: \"recraft/recraft-v4\",\n\t\t\tname: \"Recraft: Recraft V4\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4-pro\": {\n\t\t\tid: \"recraft/recraft-v4-pro\",\n\t\t\tname: \"Recraft: Recraft V4 Pro\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4-pro-vector\": {\n\t\t\tid: \"recraft/recraft-v4-pro-vector\",\n\t\t\tname: \"Recraft: Recraft V4 Pro Vector\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4-vector\": {\n\t\t\tid: \"recraft/recraft-v4-vector\",\n\t\t\tname: \"Recraft: Recraft V4 Vector\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4.1\": {\n\t\t\tid: \"recraft/recraft-v4.1\",\n\t\t\tname: \"Recraft: Recraft V4.1\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4.1-pro\": {\n\t\t\tid: \"recraft/recraft-v4.1-pro\",\n\t\t\tname: \"Recraft: Recraft V4.1 Pro\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4.1-pro-vector\": {\n\t\t\tid: \"recraft/recraft-v4.1-pro-vector\",\n\t\t\tname: \"Recraft: Recraft V4.1 Pro Vector\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4.1-utility\": {\n\t\t\tid: \"recraft/recraft-v4.1-utility\",\n\t\t\tname: \"Recraft: Recraft V4.1 Utility\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4.1-utility-pro\": {\n\t\t\tid: \"recraft/recraft-v4.1-utility-pro\",\n\t\t\tname: \"Recraft: Recraft V4.1 Utility Pro\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4.1-vector\": {\n\t\t\tid: \"recraft/recraft-v4.1-vector\",\n\t\t\tname: \"Recraft: Recraft V4.1 Vector\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"sourceful/riverflow-v2-fast\": {\n\t\t\tid: \"sourceful/riverflow-v2-fast\",\n\t\t\tname: \"Sourceful: Riverflow V2 Fast\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"sourceful/riverflow-v2-fast-preview\": {\n\t\t\tid: \"sourceful/riverflow-v2-fast-preview\",\n\t\t\tname: \"Sourceful: Riverflow V2 Fast Preview\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"sourceful/riverflow-v2-max-preview\": {\n\t\t\tid: \"sourceful/riverflow-v2-max-preview\",\n\t\t\tname: \"Sourceful: Riverflow V2 Max Preview\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"sourceful/riverflow-v2-pro\": {\n\t\t\tid: \"sourceful/riverflow-v2-pro\",\n\t\t\tname: \"Sourceful: Riverflow V2 Pro\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"sourceful/riverflow-v2-standard-preview\": {\n\t\t\tid: \"sourceful/riverflow-v2-standard-preview\",\n\t\t\tname: \"Sourceful: Riverflow V2 Standard Preview\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"x-ai/grok-imagine-image-quality\": {\n\t\t\tid: \"x-ai/grok-imagine-image-quality\",\n\t\t\tname: \"xAI: Grok Imagine Image Quality\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\", \"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: {\n\t\t\t\tinput: 0,\n\t\t\t\toutput: 0,\n\t\t\t\tcacheRead: 0,\n\t\t\t\tcacheWrite: 0,\n\t\t\t},\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t},\n} as const satisfies Record<string, Record<string, ImagesModel<ImagesApi>>>;\n"]}
|
|
1
|
+
{"version":3,"file":"image-models.generated.d.ts","sourceRoot":"","sources":["../src/image-models.generated.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsbkD,CAAC","sourcesContent":["// This file is auto-generated by scripts/generate-image-models.ts\n// Do not edit manually - run 'npm run generate-image-models' to update\n\nimport type { ImagesApi, ImagesModel } from \"./types.ts\";\n\nexport const IMAGE_MODELS = {\n\t\"openrouter\": {\n\t\t\"black-forest-labs/flux.2-flex\": {\n\t\t\tid: \"black-forest-labs/flux.2-flex\",\n\t\t\tname: \"Black Forest Labs: FLUX.2 Flex\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"black-forest-labs/flux.2-klein-4b\": {\n\t\t\tid: \"black-forest-labs/flux.2-klein-4b\",\n\t\t\tname: \"Black Forest Labs: FLUX.2 Klein 4B\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"black-forest-labs/flux.2-max\": {\n\t\t\tid: \"black-forest-labs/flux.2-max\",\n\t\t\tname: \"Black Forest Labs: FLUX.2 Max\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"black-forest-labs/flux.2-pro\": {\n\t\t\tid: \"black-forest-labs/flux.2-pro\",\n\t\t\tname: \"Black Forest Labs: FLUX.2 Pro\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"bytedance-seed/seedream-4.5\": {\n\t\t\tid: \"bytedance-seed/seedream-4.5\",\n\t\t\tname: \"ByteDance Seed: Seedream 4.5\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"image\",\"text\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"google/gemini-2.5-flash-image\": {\n\t\t\tid: \"google/gemini-2.5-flash-image\",\n\t\t\tname: \"Google: Nano Banana (Gemini 2.5 Flash Image)\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"image\",\"text\"],\n\t\t\toutput: [\"image\",\"text\"],\n\t\t\tcost: \t{\n\t \"input\": 0.3,\n\t \"output\": 2.5,\n\t \"cacheRead\": 0.03,\n\t \"cacheWrite\": 0.08333333333333334\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"google/gemini-3-pro-image-preview\": {\n\t\t\tid: \"google/gemini-3-pro-image-preview\",\n\t\t\tname: \"Google: Nano Banana Pro (Gemini 3 Pro Image Preview)\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"image\",\"text\"],\n\t\t\toutput: [\"image\",\"text\"],\n\t\t\tcost: \t{\n\t \"input\": 2,\n\t \"output\": 12,\n\t \"cacheRead\": 0.19999999999999998,\n\t \"cacheWrite\": 0.375\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"google/gemini-3.1-flash-image-preview\": {\n\t\t\tid: \"google/gemini-3.1-flash-image-preview\",\n\t\t\tname: \"Google: Nano Banana 2 (Gemini 3.1 Flash Image Preview)\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"image\",\"text\"],\n\t\t\toutput: [\"image\",\"text\"],\n\t\t\tcost: \t{\n\t \"input\": 0.5,\n\t \"output\": 3,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"openai/gpt-5-image\": {\n\t\t\tid: \"openai/gpt-5-image\",\n\t\t\tname: \"OpenAI: GPT-5 Image\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"image\",\"text\"],\n\t\t\toutput: [\"image\",\"text\"],\n\t\t\tcost: \t{\n\t \"input\": 10,\n\t \"output\": 10,\n\t \"cacheRead\": 1.25,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"openai/gpt-5-image-mini\": {\n\t\t\tid: \"openai/gpt-5-image-mini\",\n\t\t\tname: \"OpenAI: GPT-5 Image Mini\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"image\",\"text\"],\n\t\t\toutput: [\"image\",\"text\"],\n\t\t\tcost: \t{\n\t \"input\": 2.5,\n\t \"output\": 2,\n\t \"cacheRead\": 0.25,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"openai/gpt-5.4-image-2\": {\n\t\t\tid: \"openai/gpt-5.4-image-2\",\n\t\t\tname: \"OpenAI: GPT-5.4 Image 2\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"image\",\"text\"],\n\t\t\toutput: [\"image\",\"text\"],\n\t\t\tcost: \t{\n\t \"input\": 8,\n\t \"output\": 15,\n\t \"cacheRead\": 2,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"openrouter/auto\": {\n\t\t\tid: \"openrouter/auto\",\n\t\t\tname: \"Auto Router\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"text\",\"image\"],\n\t\t\tcost: \t{\n\t \"input\": -1000000,\n\t \"output\": -1000000,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v3\": {\n\t\t\tid: \"recraft/recraft-v3\",\n\t\t\tname: \"Recraft: Recraft V3\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4\": {\n\t\t\tid: \"recraft/recraft-v4\",\n\t\t\tname: \"Recraft: Recraft V4\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4-pro\": {\n\t\t\tid: \"recraft/recraft-v4-pro\",\n\t\t\tname: \"Recraft: Recraft V4 Pro\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4-pro-vector\": {\n\t\t\tid: \"recraft/recraft-v4-pro-vector\",\n\t\t\tname: \"Recraft: Recraft V4 Pro Vector\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4-vector\": {\n\t\t\tid: \"recraft/recraft-v4-vector\",\n\t\t\tname: \"Recraft: Recraft V4 Vector\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4.1\": {\n\t\t\tid: \"recraft/recraft-v4.1\",\n\t\t\tname: \"Recraft: Recraft V4.1\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4.1-pro\": {\n\t\t\tid: \"recraft/recraft-v4.1-pro\",\n\t\t\tname: \"Recraft: Recraft V4.1 Pro\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4.1-pro-vector\": {\n\t\t\tid: \"recraft/recraft-v4.1-pro-vector\",\n\t\t\tname: \"Recraft: Recraft V4.1 Pro Vector\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4.1-utility\": {\n\t\t\tid: \"recraft/recraft-v4.1-utility\",\n\t\t\tname: \"Recraft: Recraft V4.1 Utility\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4.1-utility-pro\": {\n\t\t\tid: \"recraft/recraft-v4.1-utility-pro\",\n\t\t\tname: \"Recraft: Recraft V4.1 Utility Pro\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"recraft/recraft-v4.1-vector\": {\n\t\t\tid: \"recraft/recraft-v4.1-vector\",\n\t\t\tname: \"Recraft: Recraft V4.1 Vector\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"sourceful/riverflow-v2-fast\": {\n\t\t\tid: \"sourceful/riverflow-v2-fast\",\n\t\t\tname: \"Sourceful: Riverflow V2 Fast\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"sourceful/riverflow-v2-fast-preview\": {\n\t\t\tid: \"sourceful/riverflow-v2-fast-preview\",\n\t\t\tname: \"Sourceful: Riverflow V2 Fast Preview\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"sourceful/riverflow-v2-max-preview\": {\n\t\t\tid: \"sourceful/riverflow-v2-max-preview\",\n\t\t\tname: \"Sourceful: Riverflow V2 Max Preview\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"sourceful/riverflow-v2-pro\": {\n\t\t\tid: \"sourceful/riverflow-v2-pro\",\n\t\t\tname: \"Sourceful: Riverflow V2 Pro\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"sourceful/riverflow-v2-standard-preview\": {\n\t\t\tid: \"sourceful/riverflow-v2-standard-preview\",\n\t\t\tname: \"Sourceful: Riverflow V2 Standard Preview\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t\t\"x-ai/grok-imagine-image-quality\": {\n\t\t\tid: \"x-ai/grok-imagine-image-quality\",\n\t\t\tname: \"xAI: Grok Imagine Image Quality\",\n\t\t\tapi: \"openrouter-images\",\n\t\t\tprovider: \"openrouter\",\n\t\t\tbaseUrl: \"https://openrouter.ai/api/v1\",\n\t\t\tinput: [\"text\",\"image\"],\n\t\t\toutput: [\"image\"],\n\t\t\tcost: \t{\n\t \"input\": 0,\n\t \"output\": 0,\n\t \"cacheRead\": 0,\n\t \"cacheWrite\": 0\n\t}\n\t\t} satisfies ImagesModel<\"openrouter-images\">,\n\t},\n} as const satisfies Record<string, Record<string, ImagesModel<ImagesApi>>>;\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by scripts/generate-image-models.ts
|
|
2
2
|
// Do not edit manually - run 'npm run generate-image-models' to update
|
|
3
3
|
export const IMAGE_MODELS = {
|
|
4
|
-
openrouter: {
|
|
4
|
+
"openrouter": {
|
|
5
5
|
"black-forest-labs/flux.2-flex": {
|
|
6
6
|
id: "black-forest-labs/flux.2-flex",
|
|
7
7
|
name: "Black Forest Labs: FLUX.2 Flex",
|
|
@@ -11,11 +11,11 @@ export const IMAGE_MODELS = {
|
|
|
11
11
|
input: ["text", "image"],
|
|
12
12
|
output: ["image"],
|
|
13
13
|
cost: {
|
|
14
|
-
input: 0,
|
|
15
|
-
output: 0,
|
|
16
|
-
cacheRead: 0,
|
|
17
|
-
cacheWrite: 0
|
|
18
|
-
}
|
|
14
|
+
"input": 0,
|
|
15
|
+
"output": 0,
|
|
16
|
+
"cacheRead": 0,
|
|
17
|
+
"cacheWrite": 0
|
|
18
|
+
}
|
|
19
19
|
},
|
|
20
20
|
"black-forest-labs/flux.2-klein-4b": {
|
|
21
21
|
id: "black-forest-labs/flux.2-klein-4b",
|
|
@@ -26,11 +26,11 @@ export const IMAGE_MODELS = {
|
|
|
26
26
|
input: ["text", "image"],
|
|
27
27
|
output: ["image"],
|
|
28
28
|
cost: {
|
|
29
|
-
input: 0,
|
|
30
|
-
output: 0,
|
|
31
|
-
cacheRead: 0,
|
|
32
|
-
cacheWrite: 0
|
|
33
|
-
}
|
|
29
|
+
"input": 0,
|
|
30
|
+
"output": 0,
|
|
31
|
+
"cacheRead": 0,
|
|
32
|
+
"cacheWrite": 0
|
|
33
|
+
}
|
|
34
34
|
},
|
|
35
35
|
"black-forest-labs/flux.2-max": {
|
|
36
36
|
id: "black-forest-labs/flux.2-max",
|
|
@@ -41,11 +41,11 @@ export const IMAGE_MODELS = {
|
|
|
41
41
|
input: ["text", "image"],
|
|
42
42
|
output: ["image"],
|
|
43
43
|
cost: {
|
|
44
|
-
input: 0,
|
|
45
|
-
output: 0,
|
|
46
|
-
cacheRead: 0,
|
|
47
|
-
cacheWrite: 0
|
|
48
|
-
}
|
|
44
|
+
"input": 0,
|
|
45
|
+
"output": 0,
|
|
46
|
+
"cacheRead": 0,
|
|
47
|
+
"cacheWrite": 0
|
|
48
|
+
}
|
|
49
49
|
},
|
|
50
50
|
"black-forest-labs/flux.2-pro": {
|
|
51
51
|
id: "black-forest-labs/flux.2-pro",
|
|
@@ -56,11 +56,11 @@ export const IMAGE_MODELS = {
|
|
|
56
56
|
input: ["text", "image"],
|
|
57
57
|
output: ["image"],
|
|
58
58
|
cost: {
|
|
59
|
-
input: 0,
|
|
60
|
-
output: 0,
|
|
61
|
-
cacheRead: 0,
|
|
62
|
-
cacheWrite: 0
|
|
63
|
-
}
|
|
59
|
+
"input": 0,
|
|
60
|
+
"output": 0,
|
|
61
|
+
"cacheRead": 0,
|
|
62
|
+
"cacheWrite": 0
|
|
63
|
+
}
|
|
64
64
|
},
|
|
65
65
|
"bytedance-seed/seedream-4.5": {
|
|
66
66
|
id: "bytedance-seed/seedream-4.5",
|
|
@@ -71,11 +71,11 @@ export const IMAGE_MODELS = {
|
|
|
71
71
|
input: ["image", "text"],
|
|
72
72
|
output: ["image"],
|
|
73
73
|
cost: {
|
|
74
|
-
input: 0,
|
|
75
|
-
output: 0,
|
|
76
|
-
cacheRead: 0,
|
|
77
|
-
cacheWrite: 0
|
|
78
|
-
}
|
|
74
|
+
"input": 0,
|
|
75
|
+
"output": 0,
|
|
76
|
+
"cacheRead": 0,
|
|
77
|
+
"cacheWrite": 0
|
|
78
|
+
}
|
|
79
79
|
},
|
|
80
80
|
"google/gemini-2.5-flash-image": {
|
|
81
81
|
id: "google/gemini-2.5-flash-image",
|
|
@@ -86,11 +86,11 @@ export const IMAGE_MODELS = {
|
|
|
86
86
|
input: ["image", "text"],
|
|
87
87
|
output: ["image", "text"],
|
|
88
88
|
cost: {
|
|
89
|
-
input: 0.3,
|
|
90
|
-
output: 2.5,
|
|
91
|
-
cacheRead: 0.03,
|
|
92
|
-
cacheWrite: 0.08333333333333334
|
|
93
|
-
}
|
|
89
|
+
"input": 0.3,
|
|
90
|
+
"output": 2.5,
|
|
91
|
+
"cacheRead": 0.03,
|
|
92
|
+
"cacheWrite": 0.08333333333333334
|
|
93
|
+
}
|
|
94
94
|
},
|
|
95
95
|
"google/gemini-3-pro-image-preview": {
|
|
96
96
|
id: "google/gemini-3-pro-image-preview",
|
|
@@ -101,11 +101,11 @@ export const IMAGE_MODELS = {
|
|
|
101
101
|
input: ["image", "text"],
|
|
102
102
|
output: ["image", "text"],
|
|
103
103
|
cost: {
|
|
104
|
-
input: 2,
|
|
105
|
-
output: 12,
|
|
106
|
-
cacheRead: 0.19999999999999998,
|
|
107
|
-
cacheWrite: 0.375
|
|
108
|
-
}
|
|
104
|
+
"input": 2,
|
|
105
|
+
"output": 12,
|
|
106
|
+
"cacheRead": 0.19999999999999998,
|
|
107
|
+
"cacheWrite": 0.375
|
|
108
|
+
}
|
|
109
109
|
},
|
|
110
110
|
"google/gemini-3.1-flash-image-preview": {
|
|
111
111
|
id: "google/gemini-3.1-flash-image-preview",
|
|
@@ -116,11 +116,11 @@ export const IMAGE_MODELS = {
|
|
|
116
116
|
input: ["image", "text"],
|
|
117
117
|
output: ["image", "text"],
|
|
118
118
|
cost: {
|
|
119
|
-
input: 0.5,
|
|
120
|
-
output: 3,
|
|
121
|
-
cacheRead: 0,
|
|
122
|
-
cacheWrite: 0
|
|
123
|
-
}
|
|
119
|
+
"input": 0.5,
|
|
120
|
+
"output": 3,
|
|
121
|
+
"cacheRead": 0,
|
|
122
|
+
"cacheWrite": 0
|
|
123
|
+
}
|
|
124
124
|
},
|
|
125
125
|
"openai/gpt-5-image": {
|
|
126
126
|
id: "openai/gpt-5-image",
|
|
@@ -131,11 +131,11 @@ export const IMAGE_MODELS = {
|
|
|
131
131
|
input: ["image", "text"],
|
|
132
132
|
output: ["image", "text"],
|
|
133
133
|
cost: {
|
|
134
|
-
input: 10,
|
|
135
|
-
output: 10,
|
|
136
|
-
cacheRead: 1.25,
|
|
137
|
-
cacheWrite: 0
|
|
138
|
-
}
|
|
134
|
+
"input": 10,
|
|
135
|
+
"output": 10,
|
|
136
|
+
"cacheRead": 1.25,
|
|
137
|
+
"cacheWrite": 0
|
|
138
|
+
}
|
|
139
139
|
},
|
|
140
140
|
"openai/gpt-5-image-mini": {
|
|
141
141
|
id: "openai/gpt-5-image-mini",
|
|
@@ -146,11 +146,11 @@ export const IMAGE_MODELS = {
|
|
|
146
146
|
input: ["image", "text"],
|
|
147
147
|
output: ["image", "text"],
|
|
148
148
|
cost: {
|
|
149
|
-
input: 2.5,
|
|
150
|
-
output: 2,
|
|
151
|
-
cacheRead: 0.25,
|
|
152
|
-
cacheWrite: 0
|
|
153
|
-
}
|
|
149
|
+
"input": 2.5,
|
|
150
|
+
"output": 2,
|
|
151
|
+
"cacheRead": 0.25,
|
|
152
|
+
"cacheWrite": 0
|
|
153
|
+
}
|
|
154
154
|
},
|
|
155
155
|
"openai/gpt-5.4-image-2": {
|
|
156
156
|
id: "openai/gpt-5.4-image-2",
|
|
@@ -161,11 +161,11 @@ export const IMAGE_MODELS = {
|
|
|
161
161
|
input: ["image", "text"],
|
|
162
162
|
output: ["image", "text"],
|
|
163
163
|
cost: {
|
|
164
|
-
input: 8,
|
|
165
|
-
output: 15,
|
|
166
|
-
cacheRead: 2,
|
|
167
|
-
cacheWrite: 0
|
|
168
|
-
}
|
|
164
|
+
"input": 8,
|
|
165
|
+
"output": 15,
|
|
166
|
+
"cacheRead": 2,
|
|
167
|
+
"cacheWrite": 0
|
|
168
|
+
}
|
|
169
169
|
},
|
|
170
170
|
"openrouter/auto": {
|
|
171
171
|
id: "openrouter/auto",
|
|
@@ -176,11 +176,11 @@ export const IMAGE_MODELS = {
|
|
|
176
176
|
input: ["text", "image"],
|
|
177
177
|
output: ["text", "image"],
|
|
178
178
|
cost: {
|
|
179
|
-
input: -1000000,
|
|
180
|
-
output: -1000000,
|
|
181
|
-
cacheRead: 0,
|
|
182
|
-
cacheWrite: 0
|
|
183
|
-
}
|
|
179
|
+
"input": -1000000,
|
|
180
|
+
"output": -1000000,
|
|
181
|
+
"cacheRead": 0,
|
|
182
|
+
"cacheWrite": 0
|
|
183
|
+
}
|
|
184
184
|
},
|
|
185
185
|
"recraft/recraft-v3": {
|
|
186
186
|
id: "recraft/recraft-v3",
|
|
@@ -191,11 +191,11 @@ export const IMAGE_MODELS = {
|
|
|
191
191
|
input: ["text", "image"],
|
|
192
192
|
output: ["image"],
|
|
193
193
|
cost: {
|
|
194
|
-
input: 0,
|
|
195
|
-
output: 0,
|
|
196
|
-
cacheRead: 0,
|
|
197
|
-
cacheWrite: 0
|
|
198
|
-
}
|
|
194
|
+
"input": 0,
|
|
195
|
+
"output": 0,
|
|
196
|
+
"cacheRead": 0,
|
|
197
|
+
"cacheWrite": 0
|
|
198
|
+
}
|
|
199
199
|
},
|
|
200
200
|
"recraft/recraft-v4": {
|
|
201
201
|
id: "recraft/recraft-v4",
|
|
@@ -206,11 +206,11 @@ export const IMAGE_MODELS = {
|
|
|
206
206
|
input: ["text", "image"],
|
|
207
207
|
output: ["image"],
|
|
208
208
|
cost: {
|
|
209
|
-
input: 0,
|
|
210
|
-
output: 0,
|
|
211
|
-
cacheRead: 0,
|
|
212
|
-
cacheWrite: 0
|
|
213
|
-
}
|
|
209
|
+
"input": 0,
|
|
210
|
+
"output": 0,
|
|
211
|
+
"cacheRead": 0,
|
|
212
|
+
"cacheWrite": 0
|
|
213
|
+
}
|
|
214
214
|
},
|
|
215
215
|
"recraft/recraft-v4-pro": {
|
|
216
216
|
id: "recraft/recraft-v4-pro",
|
|
@@ -221,11 +221,11 @@ export const IMAGE_MODELS = {
|
|
|
221
221
|
input: ["text", "image"],
|
|
222
222
|
output: ["image"],
|
|
223
223
|
cost: {
|
|
224
|
-
input: 0,
|
|
225
|
-
output: 0,
|
|
226
|
-
cacheRead: 0,
|
|
227
|
-
cacheWrite: 0
|
|
228
|
-
}
|
|
224
|
+
"input": 0,
|
|
225
|
+
"output": 0,
|
|
226
|
+
"cacheRead": 0,
|
|
227
|
+
"cacheWrite": 0
|
|
228
|
+
}
|
|
229
229
|
},
|
|
230
230
|
"recraft/recraft-v4-pro-vector": {
|
|
231
231
|
id: "recraft/recraft-v4-pro-vector",
|
|
@@ -236,11 +236,11 @@ export const IMAGE_MODELS = {
|
|
|
236
236
|
input: ["text", "image"],
|
|
237
237
|
output: ["image"],
|
|
238
238
|
cost: {
|
|
239
|
-
input: 0,
|
|
240
|
-
output: 0,
|
|
241
|
-
cacheRead: 0,
|
|
242
|
-
cacheWrite: 0
|
|
243
|
-
}
|
|
239
|
+
"input": 0,
|
|
240
|
+
"output": 0,
|
|
241
|
+
"cacheRead": 0,
|
|
242
|
+
"cacheWrite": 0
|
|
243
|
+
}
|
|
244
244
|
},
|
|
245
245
|
"recraft/recraft-v4-vector": {
|
|
246
246
|
id: "recraft/recraft-v4-vector",
|
|
@@ -251,11 +251,11 @@ export const IMAGE_MODELS = {
|
|
|
251
251
|
input: ["text", "image"],
|
|
252
252
|
output: ["image"],
|
|
253
253
|
cost: {
|
|
254
|
-
input: 0,
|
|
255
|
-
output: 0,
|
|
256
|
-
cacheRead: 0,
|
|
257
|
-
cacheWrite: 0
|
|
258
|
-
}
|
|
254
|
+
"input": 0,
|
|
255
|
+
"output": 0,
|
|
256
|
+
"cacheRead": 0,
|
|
257
|
+
"cacheWrite": 0
|
|
258
|
+
}
|
|
259
259
|
},
|
|
260
260
|
"recraft/recraft-v4.1": {
|
|
261
261
|
id: "recraft/recraft-v4.1",
|
|
@@ -266,11 +266,11 @@ export const IMAGE_MODELS = {
|
|
|
266
266
|
input: ["text", "image"],
|
|
267
267
|
output: ["image"],
|
|
268
268
|
cost: {
|
|
269
|
-
input: 0,
|
|
270
|
-
output: 0,
|
|
271
|
-
cacheRead: 0,
|
|
272
|
-
cacheWrite: 0
|
|
273
|
-
}
|
|
269
|
+
"input": 0,
|
|
270
|
+
"output": 0,
|
|
271
|
+
"cacheRead": 0,
|
|
272
|
+
"cacheWrite": 0
|
|
273
|
+
}
|
|
274
274
|
},
|
|
275
275
|
"recraft/recraft-v4.1-pro": {
|
|
276
276
|
id: "recraft/recraft-v4.1-pro",
|
|
@@ -281,11 +281,11 @@ export const IMAGE_MODELS = {
|
|
|
281
281
|
input: ["text", "image"],
|
|
282
282
|
output: ["image"],
|
|
283
283
|
cost: {
|
|
284
|
-
input: 0,
|
|
285
|
-
output: 0,
|
|
286
|
-
cacheRead: 0,
|
|
287
|
-
cacheWrite: 0
|
|
288
|
-
}
|
|
284
|
+
"input": 0,
|
|
285
|
+
"output": 0,
|
|
286
|
+
"cacheRead": 0,
|
|
287
|
+
"cacheWrite": 0
|
|
288
|
+
}
|
|
289
289
|
},
|
|
290
290
|
"recraft/recraft-v4.1-pro-vector": {
|
|
291
291
|
id: "recraft/recraft-v4.1-pro-vector",
|
|
@@ -296,11 +296,11 @@ export const IMAGE_MODELS = {
|
|
|
296
296
|
input: ["text", "image"],
|
|
297
297
|
output: ["image"],
|
|
298
298
|
cost: {
|
|
299
|
-
input: 0,
|
|
300
|
-
output: 0,
|
|
301
|
-
cacheRead: 0,
|
|
302
|
-
cacheWrite: 0
|
|
303
|
-
}
|
|
299
|
+
"input": 0,
|
|
300
|
+
"output": 0,
|
|
301
|
+
"cacheRead": 0,
|
|
302
|
+
"cacheWrite": 0
|
|
303
|
+
}
|
|
304
304
|
},
|
|
305
305
|
"recraft/recraft-v4.1-utility": {
|
|
306
306
|
id: "recraft/recraft-v4.1-utility",
|
|
@@ -311,11 +311,11 @@ export const IMAGE_MODELS = {
|
|
|
311
311
|
input: ["text", "image"],
|
|
312
312
|
output: ["image"],
|
|
313
313
|
cost: {
|
|
314
|
-
input: 0,
|
|
315
|
-
output: 0,
|
|
316
|
-
cacheRead: 0,
|
|
317
|
-
cacheWrite: 0
|
|
318
|
-
}
|
|
314
|
+
"input": 0,
|
|
315
|
+
"output": 0,
|
|
316
|
+
"cacheRead": 0,
|
|
317
|
+
"cacheWrite": 0
|
|
318
|
+
}
|
|
319
319
|
},
|
|
320
320
|
"recraft/recraft-v4.1-utility-pro": {
|
|
321
321
|
id: "recraft/recraft-v4.1-utility-pro",
|
|
@@ -326,11 +326,11 @@ export const IMAGE_MODELS = {
|
|
|
326
326
|
input: ["text", "image"],
|
|
327
327
|
output: ["image"],
|
|
328
328
|
cost: {
|
|
329
|
-
input: 0,
|
|
330
|
-
output: 0,
|
|
331
|
-
cacheRead: 0,
|
|
332
|
-
cacheWrite: 0
|
|
333
|
-
}
|
|
329
|
+
"input": 0,
|
|
330
|
+
"output": 0,
|
|
331
|
+
"cacheRead": 0,
|
|
332
|
+
"cacheWrite": 0
|
|
333
|
+
}
|
|
334
334
|
},
|
|
335
335
|
"recraft/recraft-v4.1-vector": {
|
|
336
336
|
id: "recraft/recraft-v4.1-vector",
|
|
@@ -341,11 +341,11 @@ export const IMAGE_MODELS = {
|
|
|
341
341
|
input: ["text", "image"],
|
|
342
342
|
output: ["image"],
|
|
343
343
|
cost: {
|
|
344
|
-
input: 0,
|
|
345
|
-
output: 0,
|
|
346
|
-
cacheRead: 0,
|
|
347
|
-
cacheWrite: 0
|
|
348
|
-
}
|
|
344
|
+
"input": 0,
|
|
345
|
+
"output": 0,
|
|
346
|
+
"cacheRead": 0,
|
|
347
|
+
"cacheWrite": 0
|
|
348
|
+
}
|
|
349
349
|
},
|
|
350
350
|
"sourceful/riverflow-v2-fast": {
|
|
351
351
|
id: "sourceful/riverflow-v2-fast",
|
|
@@ -356,11 +356,11 @@ export const IMAGE_MODELS = {
|
|
|
356
356
|
input: ["text", "image"],
|
|
357
357
|
output: ["image"],
|
|
358
358
|
cost: {
|
|
359
|
-
input: 0,
|
|
360
|
-
output: 0,
|
|
361
|
-
cacheRead: 0,
|
|
362
|
-
cacheWrite: 0
|
|
363
|
-
}
|
|
359
|
+
"input": 0,
|
|
360
|
+
"output": 0,
|
|
361
|
+
"cacheRead": 0,
|
|
362
|
+
"cacheWrite": 0
|
|
363
|
+
}
|
|
364
364
|
},
|
|
365
365
|
"sourceful/riverflow-v2-fast-preview": {
|
|
366
366
|
id: "sourceful/riverflow-v2-fast-preview",
|
|
@@ -371,11 +371,11 @@ export const IMAGE_MODELS = {
|
|
|
371
371
|
input: ["text", "image"],
|
|
372
372
|
output: ["image"],
|
|
373
373
|
cost: {
|
|
374
|
-
input: 0,
|
|
375
|
-
output: 0,
|
|
376
|
-
cacheRead: 0,
|
|
377
|
-
cacheWrite: 0
|
|
378
|
-
}
|
|
374
|
+
"input": 0,
|
|
375
|
+
"output": 0,
|
|
376
|
+
"cacheRead": 0,
|
|
377
|
+
"cacheWrite": 0
|
|
378
|
+
}
|
|
379
379
|
},
|
|
380
380
|
"sourceful/riverflow-v2-max-preview": {
|
|
381
381
|
id: "sourceful/riverflow-v2-max-preview",
|
|
@@ -386,11 +386,11 @@ export const IMAGE_MODELS = {
|
|
|
386
386
|
input: ["text", "image"],
|
|
387
387
|
output: ["image"],
|
|
388
388
|
cost: {
|
|
389
|
-
input: 0,
|
|
390
|
-
output: 0,
|
|
391
|
-
cacheRead: 0,
|
|
392
|
-
cacheWrite: 0
|
|
393
|
-
}
|
|
389
|
+
"input": 0,
|
|
390
|
+
"output": 0,
|
|
391
|
+
"cacheRead": 0,
|
|
392
|
+
"cacheWrite": 0
|
|
393
|
+
}
|
|
394
394
|
},
|
|
395
395
|
"sourceful/riverflow-v2-pro": {
|
|
396
396
|
id: "sourceful/riverflow-v2-pro",
|
|
@@ -401,11 +401,11 @@ export const IMAGE_MODELS = {
|
|
|
401
401
|
input: ["text", "image"],
|
|
402
402
|
output: ["image"],
|
|
403
403
|
cost: {
|
|
404
|
-
input: 0,
|
|
405
|
-
output: 0,
|
|
406
|
-
cacheRead: 0,
|
|
407
|
-
cacheWrite: 0
|
|
408
|
-
}
|
|
404
|
+
"input": 0,
|
|
405
|
+
"output": 0,
|
|
406
|
+
"cacheRead": 0,
|
|
407
|
+
"cacheWrite": 0
|
|
408
|
+
}
|
|
409
409
|
},
|
|
410
410
|
"sourceful/riverflow-v2-standard-preview": {
|
|
411
411
|
id: "sourceful/riverflow-v2-standard-preview",
|
|
@@ -416,11 +416,11 @@ export const IMAGE_MODELS = {
|
|
|
416
416
|
input: ["text", "image"],
|
|
417
417
|
output: ["image"],
|
|
418
418
|
cost: {
|
|
419
|
-
input: 0,
|
|
420
|
-
output: 0,
|
|
421
|
-
cacheRead: 0,
|
|
422
|
-
cacheWrite: 0
|
|
423
|
-
}
|
|
419
|
+
"input": 0,
|
|
420
|
+
"output": 0,
|
|
421
|
+
"cacheRead": 0,
|
|
422
|
+
"cacheWrite": 0
|
|
423
|
+
}
|
|
424
424
|
},
|
|
425
425
|
"x-ai/grok-imagine-image-quality": {
|
|
426
426
|
id: "x-ai/grok-imagine-image-quality",
|
|
@@ -431,11 +431,11 @@ export const IMAGE_MODELS = {
|
|
|
431
431
|
input: ["text", "image"],
|
|
432
432
|
output: ["image"],
|
|
433
433
|
cost: {
|
|
434
|
-
input: 0,
|
|
435
|
-
output: 0,
|
|
436
|
-
cacheRead: 0,
|
|
437
|
-
cacheWrite: 0
|
|
438
|
-
}
|
|
434
|
+
"input": 0,
|
|
435
|
+
"output": 0,
|
|
436
|
+
"cacheRead": 0,
|
|
437
|
+
"cacheWrite": 0
|
|
438
|
+
}
|
|
439
439
|
},
|
|
440
440
|
},
|
|
441
441
|
};
|