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"
  }
}

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.