Claude

by AnthropicText

Anthropic Claude models for long-context reasoning, coding, and thoughtful writing.

InputPromptmessages
Models12available
FlowSyncresult URL
Price20% offvendor token pricing
ClaudeExample conversation
You

Explain quantum entanglement to a 10-year-old.

Claude logo
Claude

Imagine two magic coins that stay connected: when one lands heads, the other reveals the matching result, even when they are far apart.

Examples

A request and response, in context

01 · Explain simplyClaude
You

Explain quantum entanglement to a curious 10-year-old without equations.

Claude logo
Claude

Imagine two special coins prepared as a pair. When you check one, the result tells you something about the other, even far away. Scientists can predict the connection, but they cannot use it to send a message faster than light.

02 · Architecture reviewClaude
You

Review an API design that stores job status only in browser memory.

Claude logo
Claude

Browser memory is fine for a demo, but refreshes and multiple devices will lose state. Store jobs server-side with an owner, status, timestamps, and result URL; let the UI restore them through a paginated endpoint.

03 · RewriteClaude
You

Rewrite this politely: Your payload is wrong. Read the docs and try again.

Claude logo
Claude

We could not process the request because one or more payload fields are invalid. Check the field details in the API documentation, update the request, and try again.

Capabilities

What you can build with Claude

Prompt driven generation

Submit a concise prompt and get production-ready responses output through one TTAPI job.

Core controls only

Keep integration simple with prompt, model, output settings, and callback handling.

Async result flow

Use polling or webhook callbacks so long-running generations do not block your UI.

Ready for product UI

Return Claude results that can be displayed, stored, or passed into downstream workflows.

Pricing

Token billing rules

One key and one balance across supported text models.

Token billing ruleOfficial pricing
PlatformTTAPI billing
Claude20% off official pricing
API request

Headers and submit parameters

Use the endpoint below with your TTAPI key and the request fields shown.

POSThttps://api.ttapi.io/v1/messages

Headers

x-api-keystringrequired

Your TTAPI API key.

Content-Typestringrequired

Use application/json.

Body

modelstringrequired

Supported Claude model identifier.

messagesarrayrequired

Conversation messages in Anthropic Messages format.

max_tokensintegerrequired

Maximum number of tokens to generate.

systemstringoptional

System instruction for the assistant.

temperaturenumberoptional

Sampling temperature.

streambooleanoptional

Enable streaming responses.

Open the official TTAPI documentation
Integrate

From key to first result

Copy the resolved endpoint, authentication headers, and request body for this model.

curl --request POST \
  --url https://api.ttapi.io/v1/messages \
  --header 'x-api-key: $TTAPI_KEY' \
  --header 'Content-Type: application/json' \
  --data '{"model":"claude-opus-4-6","messages":[{"role":"user","content":"Explain quantum entanglement simply."}],"max_tokens":1024}'