Skip to main content
POST
/
generate
curl -H "Authorization: Bearer <token>" -d '{
    "text": [INPUT TEXT],
    "schema": {
        "product": {
            "type": "object",
            "properties": {
                "title": { "type": "string" },
                "brand": { "type": "string" },
                "price": {
                    "type": "number",
                },
                "currency_code": {
                    "type": "string"
                },
                "color": {
                    "type": "string",
                }
            }
        }
    }
}' https://api.isomeric.ai/generate
{
  "product": {
    "brand": "Aura",
    "color": "Gravel with White Mat",
    "currency_code": "USD",
    "price": "179.00",
    "title": "Carver Mat"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.isomeric.ai/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
required
Use your API key to authenticate the request.

Body

JSON request
object
required

Response

The response will be the exact json you specified in the schema key of your request unless you set mode to stream.
curl -H "Authorization: Bearer <token>" -d '{
    "text": [INPUT TEXT],
    "schema": {
        "product": {
            "type": "object",
            "properties": {
                "title": { "type": "string" },
                "brand": { "type": "string" },
                "price": {
                    "type": "number",
                },
                "currency_code": {
                    "type": "string"
                },
                "color": {
                    "type": "string",
                }
            }
        }
    }
}' https://api.isomeric.ai/generate
{
  "product": {
    "brand": "Aura",
    "color": "Gravel with White Mat",
    "currency_code": "USD",
    "price": "179.00",
    "title": "Carver Mat"
  }
}