text to image not working

Just trying out text-to-image generation - seems the num_steps parameter is required - If I don't provide it I get the error: Uncaught Error: unexpected type "int32" with value "undefined". This is contrary to the docs: https://developers.cloudflare.com/workers-ai/models/text-to-image/
Cloudflare Docs
Text-to-Image · Cloudflare Workers AI docs
List of available Text-to-Image models:
4 Replies
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
WillTolmie
WillTolmieOP10mo ago
It works just add the num steps parameter. This was just a heads up for the cf devs, as the docs are wrong, maybe I need to file a bug
Unknown User
Unknown User10mo ago
Message Not Public
Sign In & Join Server To View
Debjit
Debjit10mo ago
So only steps are added or any other like negetive prompt also supported? My current text to image is shohwing this error.
{
"errors": [
{
"message": "InferenceUpstreamError: ERROR 3015: Error with the model repository",
"code": 1000
}
],
"success": false,
"result": {},
"messages": []
}
{
"errors": [
{
"message": "InferenceUpstreamError: ERROR 3015: Error with the model repository",
"code": 1000
}
],
"success": false,
"result": {},
"messages": []
}
Want results from more Discord servers?
Add your server