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
List of available Text-to-Image models:
Text-to-Image · Cloudflare Workers AI docs
Was this page helpful?