Text-to-image JSON
POST {{ask-filerobot-server}}/images/text-to-image
Request Body
{"prompt"=>"a cat eating a slice of watermelon"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Filerobot-Token | string | Filerobot project identifier, aka token | |
Filerobot-Key | string | Filerobot API key |
RESPONSES
status: Created
{"status":"success","version":"2.9.4","request_uuid":"7cf3c34f-4329-4777-8e54-b56abd4489fe","result":"https://fbmjmuoeb.filerobot.com/https://ask.filerobot.com/deliver/fbmjmuoeb/7cf3c34f-4329-4777-8e54-b56abd4489fe.png","sha1":"86fdf95557f7b0a3e07a64ae1aa9e8ed03ab1fbe"}