omniroute-image

Solid

Image generation via OmniRoute using OpenAI /v1/images/generations format with auto-fallback across DALL-E, Stable Diffusion, Flux, Imagen providers. Use when the user wants to generate, edit, or vary images.

AI & Automation 5,612 stars 967 forks Updated today MIT

Install

View on GitHub

Quality Score: 91/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
59
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# OmniRoute — Image Generation Requires `OMNIROUTE_URL` and `OMNIROUTE_KEY`. See [entry-point SKILL](https://raw.githubusercontent.com/diegosouzapw/OmniRoute/main/skills/omniroute/SKILL.md) for setup. ## Endpoints - `POST $OMNIROUTE_URL/v1/images/generations` — Text-to-image - `POST $OMNIROUTE_URL/v1/images/edits` — Image edit (mask) - `POST $OMNIROUTE_URL/v1/images/variations` — Variations ## Discover ```bash curl $OMNIROUTE_URL/v1/models/image | jq '.data[]' ``` Returns `{ id, owned_by, sizes:[...], capabilities:[...] }` per model. ## Generate example ```bash curl -X POST $OMNIROUTE_URL/v1/images/generations \ -H "Authorization: Bearer $OMNIROUTE_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "dall-e-3", "prompt": "a red bicycle on a wet street, photoreal", "n": 1, "size": "1024x1024", "response_format": "b64_json" }' ``` Response: `{ created, data: [{ url? or b64_json, revised_prompt }] }` ## Errors - `400 invalid_size` → not supported by this model; check `/v1/models/image` - `400 content_policy_violation` → blocked by provider safety - `503` → provider unavailable; try another model in `/v1/models/image`

Details

Author
diegosouzapw
Repository
diegosouzapw/OmniRoute
Created
3 months ago
Last Updated
today
Language
TypeScript
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category