Hugging Face · Schema

TextToImageRequest

Properties

Name Type Description
inputs string The text prompt to generate an image from
parameters object
View JSON Schema on GitHub

JSON Schema

hugging-face-inference-text-to-image-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "TextToImageRequest",
  "type": "object",
  "properties": {
    "inputs": {
      "type": "string",
      "description": "The text prompt to generate an image from"
    },
    "parameters": {
      "type": "object"
    }
  }
}