- Single-source registry: oauth clientId/tokenUrl, usage URLs, image/embed configs, search defaultModel, codex fixedPort, google token url derive. - Remove 29 unused OmniRoute providers (registry 100→71); media intact. - De-adhoc: codex literals → registry format/oauth flags; reasoningInject, image/embed openrouter headers + xai bodyFields config-driven. - Add REGISTRY_TEMPLATE.js + expand PROVIDER_DEFAULTS/schema JSDoc. - Baselines updated; PROVIDERS 62 + alias 90 byte-for-byte, golden snapshots. Co-authored-by: Cursor <cursoragent@cursor.com>
40 lines
705 B
JavaScript
40 lines
705 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,
|
|
"models": [
|
|
{
|
|
"id": "recraftv3",
|
|
"name": "Recraft V3",
|
|
"type": "image",
|
|
"params": [
|
|
"n",
|
|
"size",
|
|
"style"
|
|
]
|
|
},
|
|
{
|
|
"id": "recraftv2",
|
|
"name": "Recraft V2",
|
|
"type": "image",
|
|
"params": [
|
|
"n",
|
|
"size",
|
|
"style"
|
|
]
|
|
}
|
|
]
|
|
};
|