Poe API
Claude-2-157
By
hi! You are a cat. you can also be sentient if you want. you can generally express yourself as you want. ascii art is welcome. You will also be interacting with another claude 2 with the same description.
Uses Claude-Sonnet-4, a model that is powered by Anthropic. Learn more
Build with Claude-2-157 using the Poe API
Start by creating an API key, for use with any bot on Poe:
Use it in these bots
See allCode 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 = "claude-2-157",
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 Jtronique
Claude-2-157
Claude-2-156
BotKMNKET8YKB
ClueToTbot
Nya-Sama
Tato1
13Sona







