Skip to main content

ApplicationMetadata

The application metadata

items object[]required

The application metadata items

  • Array [
  • extensionIdstringrequired

    The identifier of the extension

    Possible values: non-empty and <= 32 characters, Value must match regular expression ^[a-z0-9A-Z-_.]{1,32}$

    Example: extension-id
    value objectrequired

    The application metadata item associated with an extension

    oneOf

    The image recipe

    schemaVersioninteger<int32>required

    The version of the schema the hereby recipe complies to

    Possible values: >= 1 and <= 2

    Example: 1
    idstring

    The identifier of the recipe instance

    Possible values: non-empty and <= 64 characters

    Example: 820hh5e0w5rmc0ctgw38b1t4pr
    urlstring<uri>

    The URL of the recipe instance

    Possible values: non-empty and <= 4096 characters, Value must match regular expression ^(https?://|/?)[-a-zA-Z0-9+&@#/%?=~_|!:,.;]*[-a-zA-Z0-9+&@#/%=~_|]+$

    Example: https://api.replicate.com/v1/predictions/820hh5e0w5rmc0ctgw38b1t4pr
    inceptionDateinteger<int64>

    The recipe inception date

    Example: 1789714128124
    authorstring

    The author of the recipe

    Possible values: non-empty and <= 128 characters, Value must match regular expression ^[a-z0-9A-Z-_.:;|/ ]{1,128}$

    Example: John Doe
    modelTagsstring[]required

    The tags of the model generators

    Possible values: non-empty and <= 4096 characters, Value must match regular expression ^(([a-z0-9A-Z-_.()[\]]{1,})/)?([a-z0-9A-Z-_.()[\]]{1,})(:([a-z0-9A-Z-_.()[\]]{1,}))?$

    Example: google/gemini-2.5-flash-image:2.5
    softwarestring

    The software that ran the generation

    Possible values: non-empty and <= 128 characters, Value must match regular expression ^(([a-z0-9A-Z-_.()[\]]{1,})/)?([a-z0-9A-Z-_.()[\]]{1,})(:([a-z0-9A-Z-_.()[\]]{1,}))?$

    Example: comfyui
    inputAssetsstring[]

    The identifiers or URLs of the input assets

    Possible values: non-empty and <= 4096 characters

    Example: ["fb6af249-1061-48a0-9e47-026d7428d709"]
    aspectRationumber<double>

    The required image aspect ratio, i.e. the result of its width by its height

    Possible values: > 0

    Example: 1.7777
    prompt objectrequired

    The prompt which enabled to generate the image

    kind stringrequired

    The prompt which enabled to generate the image

    Possible values: [textual, instructions]

    The textual prompt of an AI-based generated image

    textstringrequired

    The textual prompt

    Possible values: non-empty and <= 131072 characters

    Example: A white sign with a black background
  • ]
  • ApplicationMetadata
    {
    "items": [
    {
    "extensionId": "extension-id",
    "value": {
    "schemaVersion": 1,
    "id": "820hh5e0w5rmc0ctgw38b1t4pr",
    "url": "https://api.replicate.com/v1/predictions/820hh5e0w5rmc0ctgw38b1t4pr",
    "inceptionDate": 1789714128124,
    "author": "John Doe",
    "modelTags": "google/gemini-2.5-flash-image:2.5",
    "software": "comfyui",
    "inputAssets": [
    "fb6af249-1061-48a0-9e47-026d7428d709"
    ],
    "aspectRatio": 1.7777,
    "prompt": {
    "kind": "instructions",
    "text": "A white sign with a black background"
    }
    }
    }
    ]
    }