- image/embed/tts/search base URLs derive from media.*Config.baseUrl / searchViaChat.endpoint (single source); handlers read PROVIDER_MEDIA. - ~18 hardcoded endpoints moved: bfl/fal/stability/runway/hf/gemini/ cloudflare/recraft/sdwebui/comfyui/nanobanana image, voyage embed, gemini/openrouter tts, chatSearch endpoints. - Byte-identical: PROVIDERS 62 + alias 90 baselines, image buildUrl outputs. Co-authored-by: Cursor <cursoragent@cursor.com>
44 lines
836 B
JavaScript
44 lines
836 B
JavaScript
|
|
export default {
|
|
"id": "recraft",
|
|
"alias": "recraft",
|
|
display: {
|
|
"name": "Recraft",
|
|
"icon": "image",
|
|
"color": "#EC4899",
|
|
"textIcon": "RC",
|
|
"website": "https://recraft.ai",
|
|
"notice": {
|
|
"apiKeyUrl": "https://www.recraft.ai/profile/api"
|
|
}
|
|
},
|
|
category: "apikey",
|
|
authType: "apikey",
|
|
"transport": null,
|
|
media: {
|
|
serviceKinds: ["image"],
|
|
imageConfig: { baseUrl: "https://external.api.recraft.ai/v1/images/generations" }
|
|
},
|
|
"models": [
|
|
{
|
|
"id": "recraftv3",
|
|
"name": "Recraft V3",
|
|
"type": "image",
|
|
"params": [
|
|
"n",
|
|
"size",
|
|
"style"
|
|
]
|
|
},
|
|
{
|
|
"id": "recraftv2",
|
|
"name": "Recraft V2",
|
|
"type": "image",
|
|
"params": [
|
|
"n",
|
|
"size",
|
|
"style"
|
|
]
|
|
}
|
|
]
|
|
};
|