Repository navigation
docs(openrouter-images): sync with openrouter-web changes - #211
Open
devin-ai-integration[bot] wants to merge 6 commits into
Open
devin-ai-integration[bot] wants to merge 6 commits into
devin-ai-integration[bot] wants to merge 6 commits into
Conversation
Contributor
Author
|
I'll fix CI failures and address comments from users with write access that start with 'Devin'.
|
Contributor
Author
There was a problem hiding this comment.
Note
Newer findings are available below. Devin Review posted a newer report on this PR, in addition to the findings presented here.
🔍 Devin Review: 1 flag
Not posted on this PR by your GitHub settings — view it in Devin Review. (Configure)
…ho layer metadata
… links Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Contributor
Author
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
… text_layout Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The image API now accepts
gifinoutput_format(animation output on OpenAI gpt-image-2.6, in the public catalog asopenai/gpt-image-2.6-flareand-sunburst), plusframe_count(2–64) andframe_duration_ms(20–2000) request fields. Both frame controls are forwarded on generations and on edits.--output-formatnow listsgif.--frame-countand--frame-duration-msflags, mapped inbuildImageParams(lib.ts) toframe_countandframe_duration_ms. Thegenerate.tsandedit.tsusage text includes them.saveImagealready mapsimage/gifto.gif.markupoverlay field for gpt-image-2.6 edits. Supporting it needs a second image input inedit.ts.Seedream layer decomposition
Seedream can now return a base image plus separate layers when
provider.options.seed.layer_decomposition: trueis sent withlayer_decomposition_options.max_images(2–16;nmust be 1, noaspect_ratioor explicitWIDTHxHEIGHTsize). Eachdata[i]then carries a newlayerobject (z_index,name,description,background,bounding_box.{absolute,normalized}, optionaltext_recognition).SKILL.mdwith the--provider-optionsexample and thelayerfields.generate.tsnow adds alayersarray (each with its savedfile) to its JSON output when the response includes layer metadata;lib.tsresponse type gainslayer.Signed URLs (
response_format: "url")response_formatis now public:urlreturns a signed download link per image (data[].url, top-levelexpires_at, up to 24 hours) instead of base64, falling back tob64_jsonfor streaming, ZDR, or storage errors. Adds a short section with the response shape, the bearer-link caveat, and the billing note. Scripts still use the defaultb64_json.Update (11-22)
GET /api/v1/images/modelsnow lists:freevariants as their own entries.openrouter_in_flight_budget(retry afterRetry-After) /openrouter_credits, 403openrouter_key_limit; image requests are held against the in-flight spending budget.🟢 Devin Review found nothing to fix · View findings
Update (11-25)
input_references: models advertisesupported_parameters.input_references{min, max}(up to 16;min: 1= edit-only model); jq recipe to list them; nobboxplacement on reference entries.text_layoutunderprovider.options.recraft(text + four fractional[x, y]corner points) with a--provider-optionsexample.