Skip to content

Add Codex image routes - #29

Open
serhatsayat wants to merge 1 commit into
AmazingAng:mainfrom
serhatsayat:agent/codex-image-routes
Open

Add Codex image routes#29
serhatsayat wants to merge 1 commit into
AmazingAng:mainfrom
serhatsayat:agent/codex-image-routes

Conversation

@serhatsayat

Copy link
Copy Markdown

Summary

  • add OpenAI-compatible /v1/images/generations and /v1/images/edits routes for Codex accounts
  • route image generation/edit requests through Codex Responses with the hosted image_generation tool
  • return OpenAI-compatible b64_json image payloads and document Codex backend best-effort size/quality behavior
  • add smoke tests for generation and edit request translation

Validation

  • npm run build
  • npm test

@serhatsayat

Copy link
Copy Markdown
Author

Added Codex OAuth-backed /v1/images/generations and /v1/images/edits routes with OpenAI-compatible b64_json output

@serhatsayat
serhatsayat marked this pull request as ready for review July 8, 2026 06:24
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.

1 participant