Skip to content

About

Official starter examples for Wanyra API (api.star1age.cn) — OpenAI-compatible unified multimodal AI gateway by Star1Age

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Wanyra API Examples (万钥 / Star1Age Unified Multimodal AI API)

Official starter examples for Wanyra API (https://api.star1age.cn/v1) — an OpenAI-compatible unified multimodal AI gateway built by Star1Age, powering Davro Desktop, Davro Cloud, Toonra Canvas, and Zuolo Workflow.

One API key and one non-expiring pay-as-you-go credit wallet (CNY 1 = 1,000 exact integer points, no monthly subscription) gives access to 80+ live GA models across Anthropic Claude, OpenAI GPT, Google Gemini, DeepSeek, Alibaba Qwen, xAI Grok, Kling, Vidu, Wan, Seedance, MiniMax H3, and HappyHorse.

Quick Links

Examples Included

Example Language Demonstrates
examples/chat_stream.mjs Node.js (Zero-dep / OpenAI-compatible) Streaming chat completions with stream_options.include_usage: true
examples/chat_openai.py Python (openai SDK) Drop-in OpenAI SDK client pointing at https://api.star1age.cn/v1
examples/video_async.mjs Node.js POST /v1/videos (multipart/form-data), Idempotency-Key, and HTTP 202 + GET /v1/requests/:id polling
examples/list_catalog.mjs Node.js Inspecting live GA models and exact integer-point pricing without authentication

Getting Started

  1. Sign in at Wanyra Console (uses your unified Star1Age Account) and create an API key.
  2. Export your key:
    export STAR1AGE_API_KEY="sk-..."
  3. Run any example:
    node examples/list_catalog.mjs
    node examples/chat_stream.mjs

Star1Age Product Ecosystem

  • Star1Age — AI content production studio & AI product company (Production Guides)
  • Davro Desktop — Multi-model Windows AI agent for local files, code, AI comics & short dramas
  • Davro Cloud — Browser & Android multi-model workspace with background tasks & AI digital employees
  • Toonra / 剧格 — Node-based AI animated drama & storyboard canvas
  • Zuolo / 做咯 — One-click AI talking-head, subject swap & lip-sync video workflows
  • Wanyra / 万钥 API — OpenAI-compatible multimodal AI gateway

License

MIT

Live Status & Integration Guides

  • Live Model Availability & Verification: https://api.star1age.cn/status — 15-minute automated SSE heartbeat across 18 core models + daily deep verification (system prompt retention, prompt caching, reasoning effort ladder, and tool calling). Public JSON: https://api.star1age.cn/api/portal/public-api/model-health.
  • Client Integration Guides: https://api.star1age.cn/guides (Cherry Studio, Cursor & Cline, OpenRouter alternative, pricing & anti-downgrade verification).

Engineering & Dual-Compute Entities

About

Official starter examples for Wanyra API (api.star1age.cn) — OpenAI-compatible unified multimodal AI gateway by Star1Age

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors