Other
Other Image

phuocanh421994/Wan2.7_Image

Model ID: phuocanh421994/Wan2.7_Image
Family
Other
Context
Not specified
Per request
0.00169 USD
Requests
159
Success
95.6%
Tokens
359.5K
Uptime
24h agoNow
7 days agoNow

Pricing

Per request
0.00169 USD
Supported endpoints
https://api.xah.io/v1/images/generations
Method POST · application/json
Auth Bearer token (API key)
Rate limit 2 req/min
API kinds Image

Notes

size expected format: width*height (max 2048*2048)n = 1

Share

curl 'https://api.xah.io/v1/images/generations' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "model": "phuocanh421994/Wan2.7_Image",
    "prompt": "A young woman taking a casual selfie outdoors, natural lighting, warm tones, soft bokeh background with greenery",
    "parameters": {
        "size": "2048*2048",
        "n": 1,
        "watermark": false,
        "thinking_mode": true
    }
}'
// Node.js / Browser
const res = await fetch('https://api.xah.io/v1/images/generations', {
  method: 'POST',
  headers: {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    "model": "phuocanh421994/Wan2.7_Image",
    "prompt": "A young woman taking a casual selfie outdoors, natural lighting, warm tones, soft bokeh background with greenery",
    "parameters": {
        "size": "2048*2048",
        "n": 1,
        "watermark": false,
        "thinking_mode": true
    }
})
});
const data = await res.json();
console.log(data);
import requests

url = 'https://api.xah.io/v1/images/generations'
headers = {
    'Authorization': 'Bearer YOUR_API_KEY',
    'Content-Type': 'application/json',
}
payload = {
    "model": "phuocanh421994/Wan2.7_Image",
    "prompt": "A young woman taking a casual selfie outdoors, natural lighting, warm tones, soft bokeh background with greenery",
    "parameters": {
        "size": "2048*2048",
        "n": 1,
        "watermark": false,
        "thinking_mode": true
    }
}

res = requests.post(url, headers=headers, json=payload, timeout=120)
print(res.status_code, res.json())
{
    "model": "phuocanh421994/Wan2.7_Image",
    "prompt": "A young woman taking a casual selfie outdoors, natural lighting, warm tones, soft bokeh background with greenery",
    "parameters": {
        "size": "2048*2048",
        "n": 1,
        "watermark": false,
        "thinking_mode": true
    }
}
Reviews & comments
0.0 / 0 reviews
Loading reviews...
Contact Support
We are always ready to help you