Model IDDocumentation Index
Fetch the complete documentation index at: https://docs.gmicloud.ai/llms.txt
Use this file to discover all available pages before exploring further.
Wan 2.7 Image API Documentation
Wan 2.7 is an image generation model supporting both text-to-image and image-to-image capabilities.1. API Endpoint & Authentication
Base URL:https://console.gmicloud.ai
Endpoint: POST /api/v1/ie/requestqueue/apikey/requests
Header:
2. Model Specifications
- Output Format: Image (JPEG, PNG, WEBP, etc.)
- Resolution: 1K or 2K
3. Generation Modes
Text-to-Image
Provide a text prompt describing the desired image.Image-to-Image
Provide reference images (up to 9) along with optional text prompts. Aspect ratio matches the input image.4. Parameter Reference
| Parameter | Type | Required | Description |
|---|---|---|---|
text | string | Yes | Text prompt (max 5,000 characters). |
image | image | No | Reference image URL or Base64. |
size | string | No | Output resolution (1K or 2K). Default is 2K. |
n | integer | No | Number of images to generate (1-4). Default is 1. |
5. Example CURL Request
6. Checking Request Status
Endpoint:GET /api/v1/ie/requestqueue/apikey/requests/{request_id}
- queued: Waiting in line.
- processing: Generating image.
- success: Completed. Find URL in
outcome.media_urls.