Pipelines / pipelines /generate-free-image.yaml
breslavsky's picture
add generate free image
920ee1a
name: en=Generate image for free;ru=Создать изображение бесплатно
version: 1
description: en=Create images with Flux, SDXL, DALL-E, Midjourney;ru=Создание изображений через Flux, SDXL, DALL-E, Midjourney
tags:
- SDXL
- Flux
- Midjourney
- DALL-E
- en=Images;ru=Изображения
- en=Image Generation;ru=Генерация изображений
readme: |
Create stunning images instantly using leading AI models like Flux, SDXL, DALL-E, and Midjourney — all in one place.
## Examples
<div class="row">
<div class="col-3">
<label>Cyberpunk Samurai Cat</label>
<button class="transparent" onclick="play({prompt: 'A cyberpunk samurai cat with neon armor, rainy futuristic city, cinematic lighting'}, this)">
<img src="https://huggingface.co/PiperMy/Pipelines/resolve/main/pipelines/generate-image-for-free/cat.jpg">
</button>
</div>
<div class="col-3">
<label>Steampunk Sky Castle</label>
<button class="transparent" onclick="play({prompt: 'A giant steampunk castle floating among clouds, with golden gears and flying airships'}, this)">
<img src="https://huggingface.co/PiperMy/Pipelines/resolve/main/pipelines/generate-image-for-free/steampunk.jpg">
</button>
</div>
<div class="col-3">
<label>Fantasy Forest Queen</label>
<button class="transparent" onclick="play({prompt: 'A fantasy forest queen with glowing butterflies, ancient trees, and magical atmosphere'}, this)">
<img src="https://huggingface.co/PiperMy/Pipelines/resolve/main/pipelines/generate-image-for-free/fantasy.jpg">
</button>
</div>
</div>
## Features
- **Multiple Models**: Switch between SDXL, Flux, DALL-E, and Midjourney easily.
- **Single Prompt Use**: Generate from one text prompt across all models.
- **Quick Comparison**: See differences between generation styles side by side.
- **Flexible Choices**: Choose the model that fits your vision.
- **Free Access**: No tokens or payments required.
## Description
"Generate Image for Free" gives users the power to create images with the top generative models available today. With a simple interface, you can instantly switch between models like SDXL-turbo, Flux-dev, DALL-E-3, and Midjourney, all while using the same text prompt.
It is perfect for artists, designers, researchers, and AI enthusiasts who want fast, quality visual results without limits.
Compare outputs easily, find your preferred style, and get creative without any barriers.
*Note: This service is free and relies on model access through gpt4free.
Temporary unavailability may occur due to high demand.
If a selected model is unavailable, please try again later, choose another model, or consider paid alternatives for guaranteed access.*
## How It Works
1. **Enter a Prompt**: Type your creative idea.
2. **Select Model**: Pick from SDXL-turbo, Flux, DALL-E-3, or Midjourney.
3. **Generate Image**: AI creates your image based on the prompt.
4. **Compare Results** (optional): Try different models for the same prompt.
5. **Download**: Save the generated image.
## Applications
- **Art Creation**: Generate artwork for personal or commercial use.
- **Marketing**: Create visuals for ads, blogs, and campaigns.
- **Game Development**: Prototype characters, assets, and environments.
- **Education**: Explore AI capabilities for learning and research.
- **Social Media**: Generate unique posts, avatars, and memes.
## Integration Possibilities
- **Creative Platforms**: Add as an image generation feature.
- **Web Services**: Offer image generation tools to users.
- **Research Tools**: Use in AI research and model comparisons.
- **Mobile Apps**: Embed image generation into creative apps.
- **Content Studios**: Speed up visual production pipelines.
--- ru ---
Мгновенно создавайте потрясающие изображения с помощью ведущих AI-моделей: Flux, SDXL, DALL-E и Midjourney в одном месте.
## Примеры
<div class="row">
<div class="col-3">
<label>Киберсамурай-кот</label>
<button class="transparent" onclick="play({prompt: 'A cyberpunk samurai cat with neon armor, rainy futuristic city, cinematic lighting'}, this)">
<img src="https://huggingface.co/PiperMy/Pipelines/resolve/main/pipelines/generate-image-for-free/cat.jpg">
</button>
</div>
<div class="col-3">
<label>Стимпанк-замок в небе</label>
<button class="transparent" onclick="play({prompt: 'A giant steampunk castle floating among clouds, with golden gears and flying airships'}, this)">
<img src="https://huggingface.co/PiperMy/Pipelines/resolve/main/pipelines/generate-image-for-free/steampunk.jpg">
</button>
</div>
<div class="col-3">
<label>Фантазийная лесная королева</label>
<button class="transparent" onclick="play({prompt: 'A fantasy forest queen with glowing butterflies, ancient trees, and magical atmosphere'}, this)">
<img src="https://huggingface.co/PiperMy/Pipelines/resolve/main/pipelines/generate-image-for-free/fantasy.jpg">
</button>
</div>
</div>
## Возможности
- **Множество моделей**: Легко переключаться между SDXL, Flux, DALL-E и Midjourney.
- **Единый промпт**: Генерация по одному текстовому запросу.
- **Сравнение результатов**: Наглядное сравнение стилей моделей.
- **Гибкий выбор**: Выбор модели под задачи и стиль.
- **Бесплатный доступ**: Без токенов и оплат.
## Описание
"Создать изображение бесплатно" позволяет пользователям создавать изображения с помощью лучших генеративных моделей. Вы можете мгновенно переключаться между SDXL-turbo, Flux-dev, DALL-E-3 и Midjourney, используя один текстовый запрос.
Пайплайн подходит художникам, дизайнерам, исследователям и любителям AI, которым нужны быстрые и качественные результаты.
Сравнивайте стили, находите идеальные решения и создавайте без ограничений.
*Примечание: данный сервис является бесплатным и использует доступ к моделям через gpt4free.
Из-за высокой нагрузки возможно временное отсутствие доступа.
Если выбранная модель недоступна, попробуйте позже, выберите другую модель или воспользуйтесь платными аналогами для гарантированного доступа.*
## Как это работает
1. **Введите промпт**: Напечатайте свой текстовый запрос.
2. **Выберите модель**: SDXL-turbo, Flux, DALL-E-3 или Midjourney.
3. **Создайте изображение**: ИИ сгенерирует изображение по вашему описанию.
4. **Сравните результаты** (необязательно): Попробуйте разные модели.
5. **Скачайте**: Сохраните готовую картинку.
## Применение
- **Создание арта**: Для личного или коммерческого использования.
- **Маркетинг**: Визуалы для рекламы, блогов и кампаний.
- **Разработка игр**: Прототипирование персонажей и сцен.
- **Обучение**: Изучение возможностей AI и креативные проекты.
- **Социальные сети**: Посты, аватары, мемы.
## Возможности интеграции
- **Платформы творчества**: Интеграция генерации изображений.
- **Веб-сервисы**: Функция генерации изображений для пользователей.
- **Инструменты исследований**: Сравнение моделей и тестирование.
- **Мобильные приложения**: Создание картинок в креативных приложениях.
- **Контент-студии**: Ускорение процесса создания визуалов.
thumbnail: https://huggingface.co/PiperMy/Pipelines/resolve/main/thumbnails/generate_free_image.jpg
category:
_id: image_generation
title: en=Image generation;ru=Генерация изображений
icon: image_generation
start:
nodes:
- generate_image_gpt4free_c8f0a04608
deploy:
slug: generate-image-for-free-v1
scope:
id: generate_image_for_free_v1
activated: true
maxConcurrent: 5
inputs:
prompt:
order: 2
title: en=Prompt;ru=Подсказка
type: string
required: true
multiline: true
default: superhero game card
flows:
to_generate_image_gpt4free_c8f0a04608:
to: generate_image_gpt4free_c8f0a04608
input: prompt
arrange:
x: 250
y: 100
model:
order: 1
title: en=Model;ru=Модель
type: string
default: flux-dev
enum:
- sdxl-turbo
- sd-3.5
- flux
- flux-pro
- flux-dev
- flux-schnell
- dall-e-3
- midjourney
flows:
to_generate_image_gpt4free_c8f0a04608:
to: generate_image_gpt4free_c8f0a04608
input: model
arrange:
x: 250
y: 220
outputs:
image:
title: en=Image;ru=Изображение
type: image
flows:
from_generate_image_gpt4free_c8f0a04608:
from: generate_image_gpt4free_c8f0a04608
output: image
arrange:
x: 740
y: 140
provider:
title: en=Provider;ru=Провайдер
type: string
flows:
from_generate_image_gpt4free_c8f0a04608:
from: generate_image_gpt4free_c8f0a04608
output: provider
arrange:
x: 740
y: 200
flows: {}
nodes:
generate_image_gpt4free_c8f0a04608:
_id: generate_image_gpt4free
version: 5
category:
_id: generate_images
title: en=Generate images;ru=Генерация изображений
package: gpt4free
title: en=Generate image for free;ru=Генерация изобр. бесп.
source: catalog
execution: deferred
script: |
// https://github.com/nomic-ai/gpt4all
export async function run({ inputs }) {
const { NextNode } = DEFINITIONS;
const { model, prompt } = inputs;
const { data } = await httpClient({
method: 'post',
url: `http://${NODE_ENV === 'test' ? '0.0.0.0:8080' : 'gpt4free:1337'}/v1/images/generate`,
timeout: 60000,
data: {
model: model || 'flux-dev',
prompt: prompt || 'superhero game card',
response_format: 'b64_json'
},
headers: {
'Content-Type': 'application/json',
}
});
const { model: used, provider, data: [{ b64_json }] } = data;
return NextNode.from({ outputs: { model: used, provider, image: Buffer.from(b64_json, 'base64') } });
}
arrange:
x: 320
y: 100
inputs:
prompt:
order: 1
title: en=Prompt;ru=Подсказка
type: string
required: true
multiline: true
default: superhero game card
model:
order: 2
title: en=Model;ru=Модель
type: string
default: flux-dev
enum:
- sdxl-turbo
- sd-3.5
- flux
- flux-pro
- flux-dev
- flux-schnell
- dall-e-3
- midjourney
outputs:
image:
title: en=Image;ru=Изображение
type: image
provider:
title: en=Provider;ru=Провайдер
type: string
model:
title: en=Model;ru=Модель
type: string
environment: {}