Skip to main content
POST
Anime Waifu

Headers

Authorization
string

Body

application/json
model
enum<string>
required

Model name. Must be anime-waifu.

Available options:
anime-waifu
prompt
string
required

Text prompt describing the image.

Required string length: 1 - 2000
ratio
enum<string>

Aspect ratio of the generated image. Defaults to 1:1 when omitted.

Available options:
1:1,
3:4,
2:3,
9:16,
4:3,
3:2,
16:9
negative_prompt
string

Optional. Describes what to avoid in the image. A sensible default is applied when omitted.

Maximum string length: 2000
seed
integer

Optional. Random seed. Use -1 (the default) for a random seed, or a non-negative integer to reproduce a previous generation.

Required range: x >= -1
custom_callback_url
string<uri>

Optional. A publicly accessible HTTPS URL. When the task status changes (processing / success / failed), GoEnhance sends a POST request to this URL. The request body is identical to the response of GET /api/v1/jobs/detail. If your server does not respond with HTTP 200, the notification is retried up to 3 times, with a 3-second timeout per attempt.

Example:

"https://your-server.com/goenhance/callback"

Response

code
integer
required
msg
string
required
data
object
required