Imagine 3
API для получения генерации от модели Google Imagine 3
Запрос
Пример запроса /create
import axios from 'axios'
const request = axios({
method: 'POST',
url: 'https://gptunnel.ru/v1/media/create',
headers: {
// use your API key here
Authorization: 'YOUR_API_KEY',
},
data: {
model:"google-imagen-3",
ar: "9:21",
prompt: "Cinematic, high-quality photo of Thanos in a serene Japanese forest, clad in a traditional samurai armor made of white porcelain, adorned with intricate blue paintings that evoke the art of ancient Japanese ceramics. The armor's delicate, hand-painted designs seem to shimmer in the soft, dappled light filtering through the forest canopy. Thanos wields a heavy, curved katana with a worn, wooden scabbard, its blade gleaming with a subtle, deadly sheen. The scene is captured in a dramatic, close-up angle, with the misty forest atmosphere and the soft, golden light of dawn or dusk accentuating the armor's ethereal beauty, while the weight and power of the katana seem to anchor Thanos to the earth, ready to unleash his fury upon the world."
},
})
request.then((result) => {
console.log(result)
}).catch((error) => {
console.error(error)
})Request Body
Name
Type
Description
Headers
Name
Type
Description
Пример ответа /create
Пример запроса /result
Пример ответа /result

Last updated