Created
March 17, 2023 19:37
-
-
Save luizmarcus/4344086ad506c48fad8801471dc7b390 to your computer and use it in GitHub Desktop.
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
curl https://api.openai.com/v1/images/generations \ | |
-H "Content-Type: application/json" \ | |
-H "Authorization: Bearer $OPENAI_API_KEY" \ | |
-d '{ | |
"prompt": "a white siamese cat", | |
"n": 1, | |
"size": "1024x1024" | |
}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment