Siliconflow Flux Text to Image

function

Used to invoke Siliconflow's Flux model, which, when paired with the appropriate prompt, can generate corresponding images.

yangyutin753
@yangyutin753
·
2 years ago
417
0
1.3K
Updated 2 years ago
Created Aug 26, 2024
siliconflow_flux_text_to_image.py
Python · 164 lines
"""
title: Siliconflow Text-to-Image
author: Yanyutin753
author_url: https://github.com/Yanyutin753
funding_url: https://github.com/Yanyutin753
refer_url:https://openwebui.com/f/violet/markdown_image_remover
https://openwebui.com/f/violet/markdown_image_remover
version: 0.2
"""

import asyncio
import random

Used to invoke Siliconflow's Flux model, which, when paired with the appropriate prompt, can generate corresponding images.


0