A short, practical guide to calling text, image, and video generation through one OpenAI-compatible API base URL. All examples below are taken from the public documentation at shenmeai.vip/public/docs. API keys are shown as placeholders only; no real keys are used.

What is shenmeai?

shenmeai is an AI API gateway with a single OpenAI-compatible base URL: https://shenmeai.vip/v1 It exposes text chat, image generation, and asynchronous video generation through familiar endpoints. The public pricing endpoint GET /api/pricing lists the current model catalog (38 models at the time of writing), so you can check availability and pricing before you write any code.

Useful public links:

1. List models

curl https://shenmeai.vip/v1/models \ -H 'Authorization: Bearer YOUR_API_KEY' 

2. Text chat (OpenAI-compatible)

curl https://shenmeai.vip/v1/chat/completions \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{"model":"deepseek-v4-pro","messages":[{"role":"user","content":"Hello"}]}' 

The same call in JavaScript:

const res = await fetch("https://shenmeai.vip/v1/chat/completions", { method: "POST", headers: { "Authorization": "Bearer YOUR_API_KEY", "Content-Type": "application/json" }, body: JSON.stringify({ model: "deepseek-v4-pro", messages: [{ role: "user", content: "Hello" }] }), }); console.log(await res.json()); 

3. Image generation

curl https://shenmeai.vip/v1/images/generations \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{"model":"gpt-image-2.6-flare","prompt":"a cat running on grass"}' 

Some image models (for example seedream-5.5) accept reference_images with publicly accessible HTTPS URLs, up to 10 images, at 1K/2K resolution. Check the specific model card for exact parameters.

4. Video generation (async tasks)

curl https://shenmeai.vip/v1/videos \ -H 'Authorization: Bearer YOUR_API_KEY' \ -H 'Content-Type: application/json' \ -d '{"model":"minimax-h3","prompt":"a cat running on grass"}' 

With parameters, using the Wan-3-YZ-720p model card as an example:

curl https://shenmeai.vip/v1/videos \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "model": "Wan-3-YZ-720p", "prompt": "video description", "duration": 2, "resolution": "720p", "ratio": "16:9", "reference_images": ["https://example.com/ref-1.png"] }' 

Poll for the result with GET /v1/videos/{task_id} every 10-15 seconds. Status values are queued, in_progress, completed, and failed. Keep the original task ID if a query fails, and do not resubmit. Download with GET /v1/videos/{task_id}/content using the same account key.

5. Other compatible endpoints

  • Anthropic-style: POST /v1/messages
  • Gemini-style: POST /v1beta/models/{model}:generateContent
  • Responses API: POST /v1/responses

6. Pricing notes

Pricing is public at /api/pricing. In that feed, RMB price = model_price x 7.3 (the site's published conversion at the time of writing). billing_expr containing u("seconds") means per-second billing; u("count") means per-item; quota_type=0 indicates token-based billing. Always use the live /api/pricing endpoint as the source of truth, since the model catalog can change.

Wrap up

This is a quickstart, not a performance claim: it only documents the public API surface. Verify current models and prices against /api/pricing before you integrate, and keep your key out of source control.

Source: shenmeai.vip/public/docs and the public /api/pricing endpoint (retrieved 2026-12-03).