|
@ -250,6 +250,14 @@ async def generate_image5(input_prompt: str, negative_prompt: str, api_key: str, |
|
|
async def generate_image6(input_prompt: str, negative_prompt: str, api_key: str, typing_fn): |
|
|
async def generate_image6(input_prompt: str, negative_prompt: str, api_key: str, typing_fn): |
|
|
return await generate_image_automatic(input_prompt, negative_prompt, "https://api.runpod.ai/v1/5j1xzlsyw84vk5/", api_key, typing_fn) |
|
|
return await generate_image_automatic(input_prompt, negative_prompt, "https://api.runpod.ai/v1/5j1xzlsyw84vk5/", api_key, typing_fn) |
|
|
|
|
|
|
|
|
|
|
|
async def generate_image7(input_prompt: str, negative_prompt: str, api_key: str, typing_fn): |
|
|
|
|
|
# ChilloutMix |
|
|
|
|
|
return await generate_image_automatic(input_prompt, negative_prompt, "https://api.runpod.ai/v2/rrjxafqx66osr4/", api_key, typing_fn) |
|
|
|
|
|
|
|
|
|
|
|
async def generate_image8(input_prompt: str, negative_prompt: str, api_key: str, typing_fn): |
|
|
|
|
|
return await generate_image_automatic(input_prompt, negative_prompt, "https://api.runpod.ai/v2/vuyifmsasm3ix7/", api_key, typing_fn) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async def serverless_automatic_request(payload, cmd, api_url: str, api_key: str, typing_fn): |
|
|
async def serverless_automatic_request(payload, cmd, api_url: str, api_key: str, typing_fn): |
|
|
# Set the API endpoint URL |
|
|
# Set the API endpoint URL |
|
|
endpoint = api_url + "run" |
|
|
endpoint = api_url + "run" |
|
|