scripts/inference-providers/templates/task/text-to-image.handlebars (16 lines of code) (raw):

## Text to Image Generate an image based on a given text prompt. {{{tips.linksToTaskPage.text-to-image}}} ### Recommended models {{#each recommendedModels.text-to-image}} - [{{this.id}}](https://huggingface.co/{{this.id}}): {{this.description}} {{/each}} {{{tips.listModelsLink.text-to-image}}} ### Using the API {{{snippets.text-to-image}}} ### API specification #### Request {{{constants.specsHeaders}}} {{{specs.text-to-image.input}}} #### Response {{{specs.text-to-image.output}}}