OpenRouterTeam / openrouter-runner

Inference engine powering open source models on OpenRouter
https://openrouter.ai
MIT License
517 stars 49 forks source link

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

Closed gyp719 closed 5 months ago

gyp719 commented 5 months ago

调用 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 commented 5 months ago

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