Другое
Другое Изображение

phuocanh421994/Wan2.7_Image

Model ID: phuocanh421994/Wan2.7_Image
Семейство
Другое
Контекст
Не указано
За запрос
0.125 RUB
Запросы
159
Успех
95.6%
Tokens
359.5K
Аптайм
24 часа назадСейчас
7 дней назадСейчас

Цены

За запрос
0.125 RUB
Поддерживаемые endpoint
https://api.xah.io/v1/images/generations
Метод POST · application/json
Авторизация Bearer token (API key)
Rate limit 2 req/min
Типы API Изображение

Примечания

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

Поделиться

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
    }
}
Отзывы и комментарии
0.0 / 0 отзывов
Загрузка отзывов...
Связаться с поддержкой
Мы всегда готовы вам помочь