Add Requesty as an image generation provider - #17
Conversation
Mirror the existing OpenRouter image provider to add Requesty (https://router.requesty.ai/v1), an OpenAI-compatible router that serves image models via /chat/completions. Adds a dedicated requesty provider, registry entry (verified image models), factory case, tests, and docs. Signed-off-by: Thibault Jaigu <thibault.jaigu@gmail.com>
|
Thanks for the contribution — adding Requesty through the provider registry is a reasonable fit, and the response/data-URL path broadly matches the existing OpenRouter integration. I don't think this is merge-ready yet, though. Recommendation: request changes / do not merge yet. Blocking
Non-blocking improvements
The README/CONFIG/DISCOVERY/AGENT-GUIDE/IMAGE_PROVISIONERS/CHANGELOG coverage is otherwise in the right areas. Once the API IDs, sizing semantics, rebase, and contract tests are fixed, this should be straightforward to re-review. |
This adds Requesty as an image provider, mirroring the existing OpenRouter image provider.
Requesty (
https://router.requesty.ai/v1) is an OpenAI-compatible router that serves image models via/chat/completions(returning an image URL), the same shape this repo already uses for OpenRouter.Changes:
internal/image/requesty.go: newRequestyProvidermirroring the OpenRouter one.internal/image/provider.go: arequestyregistry entry with verified image models (google/gemini-3.1-flash-image-previewdefault,vertex/gemini-2.5-flash-image) + factory case.internal/config/config.go, tests, and docs.I used only Requesty-verified image model ids (OpenRouter's ids aren't all served). Verified:
go build ./...,go vet,go test ./internal/image/ ./cmd/...pass.I work at Requesty. This mirrors the existing OpenRouter provider as closely as possible. Happy to adjust or close it if it's not a fit.