Провайдеры flux-schnell-loraНа Bothub вы можете сами выбрать поставщиков для запросов. Если вы не сделали выбор, мы автоматически найдём подходящих провайдеров, которые способны справиться с размером и параметрами вашего запроса.
Code example and API for flux-schnell-loraWe offer full access to the OpenAI API through our service. All our endpoints fully comply with OpenAI endpoints and can be used both with plugins and when developing your own software through the SDK.Create API key
import OpenAI from 'openai';
const openai = new OpenAI({
apiKey: '<your bothub access token>',
baseURL: 'https://bothub.chat/api/v2/openai/v1'
});
async function main() {
const response = await openai.images.generate({
model: 'flux-schnell-lora',
prompt: 'a white siamese cat',
n: 1,
size: '1024x1024'
});
const imageUrl = response.data[0].url;
}
main();
Как работает flux-schnell-lora?
Ботхабчики собирают информацию...