Skip to content

WIP for generative vision model #41

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

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

WIP for generative vision model #41

wants to merge 6 commits into from

Conversation

antaz
Copy link
Collaborator

@antaz antaz commented Nov 13, 2024

No description provided.

@antaz antaz marked this pull request as draft November 13, 2024 12:17
body = {prompt:, model: "dall-e-3", n: 1}.merge!(params)
req = preflight(req, body)
res = request @http, req
URI.parse(JSON.parse(res.body).dig("data").first.dig("url"))
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Response::Vision.new ? And how will we handle the API that lets you edit images ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@0x1eef That was the plan. I just wanted to craft an initial draft before i implement it properly :)

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