curl --request POST \ --url https://api.poyo.ai/v1/messages \ --header 'Content-Type: application/json' \ --header 'anthropic-version: <api-key>' \ --header 'x-api-key: <api-key>' \ --data '{ "model": "claude-sonnet-4-5-20250929", "max_tokens": 1024, "messages": [ { "role": "user", "content": "Rewrite the following product announcement to be more gentle and user-friendly: We will have maintenance for 2 hours this weekend, services will be unavailable during this time." } ]}'
curl --request POST \ --url https://api.poyo.ai/v1/messages \ --header 'Content-Type: application/json' \ --header 'anthropic-version: <api-key>' \ --header 'x-api-key: <api-key>' \ --data '{ "model": "claude-sonnet-4-5-20250929", "max_tokens": 1024, "messages": [ { "role": "user", "content": "Rewrite the following product announcement to be more gentle and user-friendly: We will have maintenance for 2 hours this weekend, services will be unavailable during this time." } ]}'
[{"role": "user", "content": "Summarize the purpose of feature canary releases in two sentences."}]
Multi-turn conversation:
[ {"role": "user", "content": "Help me polish this sentence: This feature is still in testing."}, {"role": "assistant", "content": "How about: This feature is currently in internal beta testing."}, {"role": "user", "content": "Give me a more formal version."}]
{ "model": "claude-sonnet-4-5-20250929", "max_tokens": 256, "messages": [ {"role": "user", "content": "Explain the meaning of 'rate limiting' in three sentences."} ]}
{ "model": "claude-sonnet-4-5-20250929", "max_tokens": 256, "messages": [ { "role": "user", "content": [ {"type": "text", "text": "Describe the main subject and scene in the image, and provide an alt text for it."}, { "type": "image", "source": { "type": "base64", "media_type": "image/png", "data": "BASE64_IMAGE_DATA" } } ] } ]}