Skip to main content
GET
/
api
/
ai_generations
/
schemas
/
List AI model input schemas
curl --request GET \
  --url https://api.creatify.ai/api/ai_generations/schemas/ \
  --header 'X-API-ID: <api-key>' \
  --header 'X-API-KEY: <api-key>'
[
  {
    "model_name": "<string>",
    "input_params_schema": {
      "schema_uri": "<string>",
      "required": [
        "<string>"
      ],
      "properties": {}
    },
    "generation_type": "text_to_image"
  }
]

Authorizations

X-API-ID
string
header
required

API ID, from your settings page.

X-API-KEY
string
header
required

API Key, from your settings page.

Response

200 - application/json
model_name
string
required

The identifier of the model

input_params_schema
object
required

The JSON schema describing configurable input parameters for this model.

generation_type
enum<string>
required

The type of AI generation task this model performs.

  • text_to_image - text_to_image
  • image_to_image - image_to_image
  • text_to_video - text_to_video
  • image_to_video - image_to_video
  • text_to_audio - text_to_audio
  • audio_to_audio - audio_to_audio
Available options:
text_to_image,
image_to_image,
text_to_video,
image_to_video,
text_to_audio,
audio_to_audio