HomeModels › Hunyuan Role
Tencent Hunyuan · 32K Context

Hunyuan Role API

Tencent Hunyuan Role is tuned for character role-play and persona-consistent dialogue - ideal for companion apps, games and interactive fiction. Not available on OpenRouter.

$0.47
Input / 1M tokens
$1.86
Output / 1M tokens
32K
Context window
Persona
Optimized
Sign Up - Get $2.00 Free Credit See All Pricing

Why use Hunyuan Role on NovAI?

  • Optimized for persona consistency
  • Immersive, in-character dialogue
  • Great for companion / NPC use
  • Exclusive - not on OpenRouter
  • Zero platform fee

Best use cases

  • AI companions and characters
  • Game NPC dialogue
  • Interactive fiction
  • Brand persona chatbots

Quick start

cURL

curl https://aiapi-pro.com/v1/chat/completions \
  -H "Authorization: Bearer $NOVAI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "hunyuan-role",
    "messages": [{"role":"user","content":"Stay in character as a witty pirate captain and greet your crew."}]
  }'

Python (OpenAI SDK)

from openai import OpenAI
client = OpenAI(
    base_url="https://aiapi-pro.com/v1",
    api_key="YOUR_NOVAI_API_KEY",
)
resp = client.chat.completions.create(
    model="hunyuan-role",
    messages=[{"role":"user","content":"Stay in character as a witty pirate captain and greet your crew."}],
)
print(resp.choices[0].message.content)

Try Hunyuan Role today

Zero platform fee. Credits never expire. OpenAI-compatible API.

Sign Up Free