Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.gmicloud.ai/llms.txt

Use this file to discover all available pages before exploring further.

Model ID
Wan-AI/Wan2.2-I2V-A14B

API Usage

Interact with this model via GMI’s OpenAI-compatible chat completions endpoint.

Shell

curl https://api.gmi-serving.com/v1/chat/completions \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $GMI_API_KEY" \
  -d '{
    "model": "Wan-AI/Wan2.2-I2V-A14B",
    "messages": [
      { "role": "system", "content": "You are a helpful assistant." },
      { "role": "user",   "content": "Hello!" }
    ]
  }'

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(
    base_url="https://api.gmi-serving.com/v1",
    api_key="<gmi-api-key>",
)

resp = client.chat.completions.create(
    model="Wan-AI/Wan2.2-I2V-A14B",
    messages=[
        {"role": "system", "content": "You are a helpful assistant."},
        {"role": "user",   "content": "Hello!"},
    ],
)
print(resp.choices[0].message.content)
See LLM API reference for streaming, tool use, and full parameter docs.