Skip to content

proxy: support /v1/images/generations#443

Merged
mostlygeek merged 1 commit intomainfrom
v1-images-433
Dec 31, 2025
Merged

proxy: support /v1/images/generations#443
mostlygeek merged 1 commit intomainfrom
v1-images-433

Conversation

@mostlygeek
Copy link
Owner

@mostlygeek mostlygeek commented Dec 31, 2025

Add support for the /v1/images/generations endpoint

Updates #433
Closes #191

Summary by CodeRabbit

  • New Features

    • Image generation endpoint now available to use with local OpenAI-compatible servers, featuring API key authentication and seamless integration with existing generation workflows.
  • Documentation

    • Documentation expanded to include the new image generation endpoint and configuration details for local server setups.

✏️ Tip: You can customize this high-level summary in your review settings.

@coderabbitai
Copy link

coderabbitai bot commented Dec 31, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

This pull request adds support for the /v1/images/generations endpoint by introducing a new API route in the proxy manager and documenting it in the README. The endpoint reuses existing image generation handler infrastructure.

Changes

Cohort / File(s) Summary
Documentation
README.md
Added bullet point for v1/images/generations under the "Use any local OpenAI compatible server" section
API Route Addition
proxy/proxymanager.go
Registered new POST /v1/images/generations endpoint with API key authentication, routed through existing proxyInferenceHandler

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

✨ Finishing touches
  • 📝 Generate docstrings

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 22e098a and d2b0331.

📒 Files selected for processing (2)
  • README.md
  • proxy/proxymanager.go

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@mostlygeek mostlygeek merged commit 37d74ef into main Dec 31, 2025
2 of 3 checks passed
@mostlygeek mostlygeek deleted the v1-images-433 branch December 31, 2025 05:05
@mostlygeek mostlygeek mentioned this pull request Dec 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

/v1/images/* support?

1 participant