Skip to content
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

调用 gpt 模型 如何生成 图片? #88

Closed
gyp719 opened this issue Apr 11, 2024 · 1 comment
Closed

调用 gpt 模型 如何生成 图片? #88

gyp719 opened this issue Apr 11, 2024 · 1 comment

Comments

@gyp719
Copy link

gyp719 commented Apr 11, 2024

调用 gpt 模型 如何生成 图片?

似乎只能文字模型来回复我, 我需要做什么操作?

How do I call the gpt model to generate an image?
It seems that only the text model can reply to me. What operation do I need to do?

{
    "model": "google/gemini-pro-vision",
    "stream": true,
    "frequency_penalty": 0,
    "presence_penalty": 0,
    "temperature": 0.6,
    "top_p": 1,
    "messages": [
         {
            "content": "随机生成一张风景图片",
            "role": "user"
        }
    ]
}
@alexanderatallah
Copy link
Contributor

OpenRouter doesn't support image generation yet! just image inputs

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

No branches or pull requests

2 participants