Tencent's Hunyuan Role is a role-play and character model with strong persona consistency for immersive, in-character dialogue — at provider list price, zero platform fee.
curl https://aiapi-pro.com/v1/chat/completions \
-H "Authorization: Bearer $NOVAI_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "hy-role",
"messages": [{"role":"user","content":"You are a wise old wizard. Greet the traveler."}]
}'
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="hy-role",
messages=[{"role":"user","content":"You are a wise old wizard. Greet the traveler."}],
)
print(resp.choices[0].message.content)