image-generation-gateways
БесплатноЗапускает вложенные скриптыНе проверенSelect, integrate, and operate multi-model image-generation gateways with model-specific schema discovery, version policy, asynchronous jobs, webhooks, spend…
от calesthio★ 262 звезды на GitHubОб этом скилле
Image generation through gateways
A gateway standardizes account access, not model behavior. Keep gateway, model publisher, model/version, execution path, schema, price, safety behavior, and downstream terms as separate facts in every plan and ledger row.
This skill covers three current multi-model serverless gateways:
- fal.ai Model APIs: direct or persistent queue calls to model endpoint IDs, with queue status, cancellation, and signed webhooks.
- Replicate predictions: prediction resources around official, community, marketplace, or version-pinned models.
- Together AI serverless images: a synchronous OpenAI-compatible image endpoint spanning models with different parameter subsets.
These gateways were selected because their first-party contracts expose three materially different operating patterns. Do not add another gateway merely because it offers the same model name. Research its control plane, billing unit, data path, lifecycle, schema, and terms first.
Volatile facts here were checked 2026-07-10. Use four evidence labels in user-facing work:
- FACT: directly documented by the cited gateway, model publisher, or governing terms.
- PROVIDER CLAIM: a quality, commercial-use, training, security, equivalence, or infrastructure representation that was not independently audited here.
- HEURISTIC: a conservative production practice in this skill, not a gateway limit.
- UNKNOWN: public first-party evidence was insufficient; resolve through the account, contract, DPA, model publisher, or support.
Build the routing record before code
Capture a signed-off record with:
- production intent and image acceptance tests;
- gateway and account/project;
- exact endpoint/model ID, publisher, official/community/partner status, and version policy;
- schema URL or API-discovered schema plus retrieval time and hash;
- complete input fields, reference provenance, output count/format/size, safety controls, and seed;
- execution path: sync, queue/poll, or webhook;
- billing unit, unit price snapshot, estimated maximum, credits/discounts, and approver;
- input/output rights, model terms, gateway terms, downstream processor/data path, retention, training setting, and region;
- artifact destination, byte/pixel limits, provenance fields, and deletion schedule;
- retry, reconciliation, cancellation, and failover policy.
If any consequential entry is missing, prepare a dry run and stop before submission.
Select for the workload, not the logo
| Requirement | fal.ai | Replicate | Together AI |
|---|---|---|---|
| Long-running serverless control | Queue returns request/status/response/cancel URLs; webhooks available | Async prediction is default; poll, cancel, or webhook | Current /v1/images/generations is synchronous; no image-job resource documented |
| Version behavior | Endpoint ID does not by itself prove an immutable model revision | Community predictions can use an immutable version ID; official model endpoint follows maintained latest | Model string may be deprecated or redirected; dedicated endpoint is the documented escape hatch for an original version |
| Schema discovery | Every model page exposes its own schema; common fields are not platform fields | models.get exposes latest_version.openapi_schema; version pages preserve version-specific schema |
/v1/models exposes model metadata, but image parameter support still requires image docs and model-specific pages |
| Output path | Public fal.media CDN URLs unless a model returns inline data |
Current clients expose FileOutput; URLs use replicate.delivery and expire after one hour |
Request response_format: base64 to avoid a second URL fetch |
| Data controls | X-Fal-Store-IO: 0; separate CDN lifecycle control |
API prediction inputs, outputs, logs, and files removed after one hour by default | Account ZDR/privacy setting; public documents conflict on the default, so verify it |
| Hidden routing risk | Queue retries and supported-model fallbacks are enabled by default | Official model can advance to a new version | Deprecation policy permits redirects for selected model IDs |
No cell means "best." Benchmark the actual brief using fixed acceptance tests. The same seed across gateways or model builds is not comparable reproducibility.
Freeze each model contract
Do not implement a universal payload containing prompt, width, steps, and seed and send it everywhere. For every approved adapter:
- retrieve the current model-specific schema from the first-party page/API;
- permit only fields in that schema, with local type/range checks;
- save a canonical schema hash and model/page URL in the release record;
- test a dry request fixture and mocked success/failure responses;
- require review when the schema hash, endpoint ID, returned model/version, price unit, publisher terms, or safety defaults change.
fal.ai facts that change design
- REST authentication is `Authorizatio
Установить image-generation-gateways в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл image-generation-gateways?
Select, integrate, and operate multi-model image-generation gateways with model-specific schema discovery, version policy, asynchronous jobs, webhooks, spend approval, safe inputs and artifacts, data-governance review, and billing observability. Use for comparing or building against fal.ai, Replicate, or Together AI image APIs, including controlled failover; do not use for direct model-provider APIs, local inference, training, dedicated endpoint provisioning, video generation, or general image editing.
Как установить скилл image-generation-gateways?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл image-generation-gateways запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic