Poe API
Qwen-Image is an image generation foundation model in the Qwen series that achieves significant advances in complex text rendering. Experiments show strong general capabilities in image generation, with exceptional performance in text rendering, especially for Chinese. Prompt input cannot exceed 2,000 characters.
Powered by a server managed by @novitaai. Learn more
- OFFICIAL
Build with Qwen-Image using the Poe API
Start by creating an API key, for use with any bot on Poe:
Code samples
python
import openai
client = openai.OpenAI(
api_key = "YOUR_POE_API_KEY", # or os.getenv("POE_API_KEY")
base_url = "https://api.poe.com/v1",
)
chat = client.chat.completions.create(
model = "qwen-image",
messages = [{
"role": "user",
"content": "Busy airship dock, steampunk universe, inspired by the works of H.G. Wells"
}]
)
print(chat.choices[0].message.content)See the full documentation for comprehensive guidance on getting started.