Tutorials_for_BDFD

Untitled

Mar 14th, 2023
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. $nomention
  2. $var[apikey;your api key]
  3. $httpAddHeader[X-API-KEY;$var[apikey]]
  4. $httpAddHeader[accept;application/json]
  5. $httpAddHeader[content-type;application/json]
  6. $httpPost[https://api.writesonic.com/v2/business/content/generate-image?engine=premium&language=pt-br&num_copies=1;{
  7. "num_images": 1,
  8. "image_width": 512,
  9. "image_height": 512,
  10. "prompt": "$message"
  11. }]
  12. $title[image generator]
  13. $description[Hey <@$authorID> here's your picture.]
  14.  
  15. $image[$replaceText[$replaceText[$httpResult[images];$removeLinks[$httpResult[images]];;-1];"\];;-1]]
Advertisement
Add Comment
Please, Sign In to add comment