This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import uuid | |
import time | |
import random | |
api_key = "your-stability-api-key" | |
num_batches = 6 # Specify the number of images to generate per API | |
prompt = "Your prompt here" | |
negative_prompt = "optional negative prompt here" # Optional |