Poe API
Seedream-4.5 is ByteDance's latest and best text-to-image model, capable of impressive high fidelity image generation, with great text-rendering ability. Seedream-4.5 can also take in multiple images as references and combine them together or edit them to return an output. Pass `--aspect` to set the aspect ratio for the model (One of `16:9`, `4:3`, `1:1`, `3:4`, `9:16`).
Powered by a server managed by @Bytedance. Learn more
- OFFICIAL
Build with Seedream-4.5 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 = "seedream-4.5",
messages = [{
"role": "user",
"content": "Dreamlike landscape, combining Picasso's cubism and Dali's surrealism"
}]
)
print(chat.choices[0].message.content)See the full documentation for comprehensive guidance on getting started.