Poe API

Bot image for -akinator-forpoe-

-akinator-forpoe-

Chat

Uses Claude-Haiku-3, a model that is powered by Anthropic. Learn more

Build with -akinator-forpoe- using the Poe API

Start by creating an API key, for use with any bot on Poe:

Generate API key

Code samples

Messages API
import anthropic

client = anthropic.Anthropic(
    api_key = "YOUR_POE_API_KEY",  # or os.getenv("POE_API_KEY")
    base_url = "https://api.poe.com",
)

message = client.messages.create(
    model = "-akinator-forpoe-",
    max_tokens = 1024,
    messages = [{
      "role": "user",
      "content": "Hello world"
    }]
)

print(message.content[0].text)

See the full documentation for comprehensive guidance on getting started.


More from GuyNdude

Bot image for Faceboom-ai-posts.
Faceboom-ai-posts.
Bot image for LogoAI-Logo-Creator
LogoAI-Logo-Creator
Bot image for OldFashioned
OldFashioned
Bot image for -akinator-forpoe-
-akinator-forpoe-
Bot image for -Pic-
-Pic-