Skip to content

Document the output of text-to-image model bindings #21914

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TheGeorgeAlexander opened this issue Apr 23, 2025 · 0 comments · Fixed by #21964
Closed

Document the output of text-to-image model bindings #21914

TheGeorgeAlexander opened this issue Apr 23, 2025 · 0 comments · Fixed by #21964
Assignees
Labels
content:edit Request for content edits documentation Documentation edits product:workers-ai Workers AI: https://developers.cloudflare.com/workers-ai/

Comments

@TheGeorgeAlexander
Copy link

Existing documentation URL(s)

What changes are you suggesting?

For all these pages, the Output section is empty. The object returned by the binding is not documented.

Show that the output from the binding is a ReadableStream. Not a buffer, JSON object or anything else the developer may guess. A simple sentence may be:

## Output

The binding returns a `ReadableStream` with the image in PNG format.

Additional information

No response

@TheGeorgeAlexander TheGeorgeAlexander added content:edit Request for content edits documentation Documentation edits labels Apr 23, 2025
@github-actions github-actions bot added the product:workers-ai Workers AI: https://developers.cloudflare.com/workers-ai/ label Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
content:edit Request for content edits documentation Documentation edits product:workers-ai Workers AI: https://developers.cloudflare.com/workers-ai/
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants