qwen-plus-character.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "model_code": "qwen-plus-character",
  3. "model_intro": "通义千问系列角色扮演模型,本模型是动态更新版本,模型更新会提前通知,适合拟人化的角色扮演,同时优化了限定人设指令遵循、话题推进、倾听共情等能力,支持个性化角色的深度还原。",
  4. "model_tags": ["文本生成"],
  5. "model_capabilities": {
  6. "input_modalities": ["text"],
  7. "output_modalities": ["text"],
  8. "features": {
  9. "model_experience": true,
  10. "function_calling": false,
  11. "structured_output": false,
  12. "web_search": false,
  13. "prefix_continuation": false,
  14. "cache": false,
  15. "batch_inference": false,
  16. "model_tuning": false
  17. }
  18. },
  19. "model_pricing": {
  20. "unit": "元/千tokens",
  21. "input": 0.0008,
  22. "input_cache_hit": 0.00016,
  23. "input_batch": 0.0004,
  24. "output": 0.002,
  25. "output_batch": 0.001
  26. },
  27. "model_limits": {
  28. "max_input_length": "30K",
  29. "max_output_length": "4K",
  30. "rpm": 120,
  31. "tpm": 500000,
  32. "context_length": "32K"
  33. },
  34. "api_examples": {
  35. "curl": [
  36. "curl -X POST https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions \\\n-H \"Authorization: Bearer $DASHSCOPE_API_KEY\" \\\n-H \"Content-Type: application/json\" \\\n-d '{\n \"model\": \"qwen-plus-character\",\n \"messages\": [\n {\n \"role\": \"system\",\n \"content\": \"You are a helpful assistant.\"\n },\n {\n \"role\": \"user\",\n \"content\": \"你是谁?\"\n }\n ],\n \"stream\": true\n}'"
  37. ]
  38. }
  39. }