Skip to content

docs(ai-gateway): document image endpoints and GenerateImage reference images - #291

Merged
wixysam merged 1 commit into
mainfrom
docs/ai-gateway-images
Sep 24, 2026
Merged

wixysam merged 1 commit into
mainfrom
docs/ai-gateway-images

Conversation

@wixysam

@wixysam wixysam commented Sep 24, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • AI Gateway module JSDoc: adds an Images section covering /images/generations and /images/edits, and a Vercel AI SDK generateImage example. It links to a new guide page in the docs. The intro no longer describes the gateway as Chat Completions only.
  • GenerateImageParams: adds existing_image_urls?: string[]. The backend has accepted it since apper #1827 (2025-12-15), but the SDK types didn't expose it. Adds an editing example and points to the gateway for model, aspect ratio, resolution and quality control.

JSDoc and types only, no runtime changes.

Docs

The generated ai-gateway and integrations pages, plus the new guide (developers/references/sdk/getting-started/ai-gateway-images), are in the paired mintlify-docs PR on the same branch name. The guide link in this JSDoc resolves once that PR merges.

Verification

  • npx tsc --noEmit passes.
  • npm run create-docs-local generates both pages, previewed locally with mintlify dev.
  • The Vercel AI SDK behavior in the example (providerOptions.base44 merged into the request body) was checked against the @ai-sdk/openai-compatible 2.0.75 source. It hasn't been run against the live gateway.

🤖 Generated with Claude Code

…e images

Add an Images section and a generateImage example to the AI Gateway
module JSDoc, linking to the new image guide in the docs. Widen the intro
so it no longer describes the gateway as Chat Completions only.

Add the existing_image_urls field the backend already accepts to
GenerateImageParams, with an editing example.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

🚀 Package Preview Available!


Install this PR's preview build with npm:

npm i @base44-preview/sdk@0.8.50-pr.291.10ee07f

Prefer not to change any import paths? Install using npm alias so your code still imports @base44/sdk:

npm i "@base44/sdk@npm:@base44-preview/sdk@0.8.50-pr.291.10ee07f"

Or add it to your package.json dependencies:

{
  "dependencies": {
    "@base44/sdk": "npm:@base44-preview/sdk@0.8.50-pr.291.10ee07f"
  }
}

Preview published to npm registry — try new features instantly!

@wixysam
wixysam merged commit 1d393ee into main Sep 24, 2026
7 checks passed
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.

2 participants