Design & media

Alibaba Cloud AI Entry Modelstudio

Routes Alibaba Cloud Model Studio requests to the matching local skill and preserves reproducible evidence.

What it does

Routes Model Studio requests by modality and operation to existing local skills for image, video, speech, multimodal, search, and document tasks. It clarifies unmatched requests, verifies access with a minimal read-only query, then records artifacts and API summaries under a dedicated output directory. Long-running video tasks can use the included async polling pattern.

When to use it

  • Routing image generation or editing requests
  • Selecting TTS, ASR, or live translation workflows
  • Choosing embedding, rerank, or vector retrieval skills
  • Handling asynchronous video task results

The skill document

Category: task

Alibaba Cloud Model Studio Entry (Routing)

Route requests to existing local skills to avoid duplicating model/parameter details.

Prerequisites

  • Install SDK (virtual environment recommended to avoid PEP 668 restrictions):
python3 -m venv .venv
. .venv/bin/activate
python -m pip install dashscope
  • Configure DASHSCOPE_API_KEY (environment variable preferred; or dashscope_api_key in ~/.alibabacloud/credentials).

Routing Table (currently supported in this repo)

NeedTarget skill
Text-to-image / image generationskills/ai/image/alicloud-ai-image-qwen-image/
Image editingskills/ai/image/alicloud-ai-image-qwen-image-edit/
Text-to-video / image-to-video (i2v)skills/ai/video/alicloud-ai-video-wan-video/
Reference-to-video (r2v)skills/ai/video/alicloud-ai-video-wan-r2v/
Text-to-speech (TTS)skills/ai/audio/alicloud-ai-audio-tts/
Speech recognition/transcription (ASR)skills/ai/audio/alicloud-ai-audio-asr/
Realtime speech recognitionskills/ai/audio/alicloud-ai-audio-asr-realtime/
Realtime TTSskills/ai/audio/alicloud-ai-audio-tts-realtime/
Live speech translationskills/ai/audio/alicloud-ai-audio-livetranslate/
CosyVoice voice cloneskills/ai/audio/alicloud-ai-audio-cosyvoice-voice-clone/
CosyVoice voice designskills/ai/audio/alicloud-ai-audio-cosyvoice-voice-design/
Voice cloneskills/ai/audio/alicloud-ai-audio-tts-voice-clone/
Voice designskills/ai/audio/alicloud-ai-audio-tts-voice-design/
Omni multimodal interactionskills/ai/multimodal/alicloud-ai-multimodal-qwen-omni/
Visual reasoningskills/ai/multimodal/alicloud-ai-multimodal-qvq/
Text embeddingsskills/ai/search/alicloud-ai-search-text-embedding/
Rerankskills/ai/search/alicloud-ai-search-rerank/
Vector retrievalskills/ai/search/alicloud-ai-search-dashvector/ or skills/ai/search/alicloud-ai-search-opensearch/ or skills/ai/search/alicloud-ai-search-milvus/
Document understandingskills/ai/text/alicloud-ai-text-document-mind/
Video editingskills/ai/video/alicloud-ai-video-wan-edit/
Model list crawl/updateskills/ai/misc/alicloud-ai-misc-crawl-and-skill/

When Not Matched

  • Clarify model capability and input/output type first.
  • If capability is missing in repo, add a new skill first.

Common Missing Capabilities In This Repo (remaining gaps)

  • text generation/chat (LLM)

  • multimodal embeddings

  • OCR-specialized extraction and image translation

  • virtual try-on / digital human / advanced video personas

  • For multimodal/ASR download failures, prefer public URLs listed above.

  • For ASR parameter errors, use data URI in input_audio.data.

  • For multimodal embedding 400, ensure input.contents is an array.

Async Task Polling Template (video/long-running tasks)

When X-DashScope-Async: enable returns task_id, poll as follows:

GET https://dashscope.aliyuncs.com/api/v1/tasks/
Authorization: Bearer $DASHSCOPE_API_KEY

Example result fields (success):

{
  "output": {
    "task_status": "SUCCEEDED",
    "video_url": "https://..."
  }
}

Notes:

  • Recommended polling interval: 15-20 seconds, max 10 attempts.
  • After success, download output.video_url.

Clarifying questions (ask when uncertain)

  1. Are you working with text, image, audio, or video?
  2. Is this generation, editing/understanding, or retrieval?
  3. Do you need speech (TTS/ASR/live translate) or retrieval (embedding/rerank/vector DB)?
  4. Do you want runnable SDK scripts or just API/parameter guidance?

References

  • Model list and links:output/alicloud-model-studio-models-summary.md

  • API/parameters/examples: see target sub-skill SKILL.md and references/*.md

  • Official source list:references/sources.md

Validation

mkdir -p output/alicloud-ai-entry-modelstudio
echo "validation_placeholder" > output/alicloud-ai-entry-modelstudio/validate.txt

Pass criteria: command exits 0 and output/alicloud-ai-entry-modelstudio/validate.txt is generated.

Output And Evidence

  • Save artifacts, command outputs, and API response summaries under output/alicloud-ai-entry-modelstudio/.
  • Include key parameters (region/resource id/time range) in evidence files for reproducibility.

Workflow

  1. Confirm user intent, region, identifiers, and whether the operation is read-only or mutating.
  2. Run one minimal read-only query first to verify connectivity and permissions.
  3. Execute the target operation with explicit parameters and bounded scope.
  4. Verify results and save output/evidence files.

Questions people ask

Which Model Studio requests can it route?
The routing table covers image generation and editing; several video workflows; TTS, ASR, realtime speech, translation, and voice operations; multimodal interaction and visual reasoning; embeddings, reranking, vector retrieval, document understanding, and model-list updates.
What setup is required?
Install the `dashscope` Python package, preferably in a virtual environment, and configure `DASHSCOPE_API_KEY` or add `dashscope_api_key` to `~/.alibabacloud/credentials`.
What happens when a request does not match an existing route?
It first clarifies the model capability and input/output type. If the repository lacks that capability, the document directs users to add a new skill before proceeding.

Related skills

Access supported Stripe administration and payment APIs through managed OAuth.

720 installs29 stars

Search YouTube data and manage account resources through Data API v3 with managed OAuth.

873 installs144 stars

Design and critique visual artifacts using measurable rules for hierarchy, spacing, type, color, and layout.

by Iván137 installs5 stars

Analyze mixed files and produce multiple requested artifacts through one agent task.

527 installs8 stars

Generate customizable adult portraits through an authenticated API with quota checks and multiple export formats.

263 installs12 stars