Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $nomention
- $var[apikey;your api key]
- $httpAddHeader[X-API-KEY;$var[apikey]]
- $httpAddHeader[accept;application/json]
- $httpAddHeader[content-type;application/json]
- $httpPost[https://api.writesonic.com/v2/business/content/generate-image?engine=premium&language=pt-br&num_copies=1;{
- "num_images": 1,
- "image_width": 512,
- "image_height": 512,
- "prompt": "$message"
- }]
- $title[image generator]
- $description[Hey <@$authorID> here's your picture.]
- $image[$replaceText[$replaceText[$httpResult[images];$removeLinks[$httpResult[images]];;-1];"\];;-1]]
Advertisement
Add Comment
Please, Sign In to add comment