live
MODEL IDgoogle-gemini-3-1-flash-lite

Gemini 3.1 Flash Lite

Google
by 1M context

Gemini 3.1 Flash Lite is Google’s flagship multimodal language model that processes text alongside images, audio, video, code, and documents. It offers high-performance reasoning, complex instruction following, and deep contextual understanding for a wide range of tasks across language, analysis, and problem solving

Gemini 3.1 Flash Lite

audio-driven

Wholesale Buyer Voicemail Action Brief$0.00177~7s
Sure! Here is the action brief based on the voicemail provided.

### 1. Verbatim Transcript
"Hi Mara, this is Celeste from Northline Outfitters following up after our line review. Please reserve 48 undyed canvas chore jackets, style CJ-204: 12 small, 18 medium, 12 large, and 6 extra-large. We also want 36 ribbed merino crews in moss, style MK-17, split evenly across small through extra-large. Target landed cost is no more than $62 for the jacket and 48 for the knit. We need samples by September 18th, 2026. Final confirmation by September 22nd, and delivery to our Portland distribution center between November 4th and 8th. Terms are net 30. Please send the revised line sheet and recycled content certificate. Hold off on the rust colorway. Confirm everything by 3:00 PM Pacific tomorrow. Thanks."

### 2. Summary of Requests
* The client would like to place an order for 48 units of CJ-204 canvas chore jackets and 36 units of MK-17 ribbed merino crews.
* Samples are due September 18th, 2026, with final confirmation by September 22nd. 
* Delivery to the client's Portland distribution center is requested for November 4th-8th.
* The client requested a revised line sheet, recycled content certificate, and to put the rust colorway on hold.

### 3. Order Details
| Style | Color | Total Quantity | Size Breakdown | Max Landed Cost |
| :--- | :--- | :--- | :--- | :--- |
| CJ-204 | Undyed Canvas | 48 | 12S, 18M, 12L, 6XL | $62 |
| MK-17 | Moss | 36 | 9S, 9M, 9L, 9XL | $48 |

### 4. Dates, Terms, and Documentation
* **Sample delivery date:** September 18th, 2026
* **Final confirmation deadline:** September 22nd, 2026
* **Delivery window:** November 4th-8th, 2026
* **Payment terms:** Net 30
* **Required documents:** Revised line sheet and recycled content certificate
* **Hold instruction:** Rust colorway
* **Response deadline:** 3:00 PM Pacific, tomorrow 

### 5. Prioritized Action Items
| Action Item | Owner (Suggested Role) |
| :--- | :--- |
| Acknowledge voicemail and confirm all items by 3 PM tomorrow | Account Manager |
| Coordinate and prepare sample delivery for Sept 18 | Production/Operations |
| Confirm cost requirements are met for landing | Logistics |
| Provide revised line sheet and recycled content certificate | Account Manager/Compliance |
| Hold production for "rust" colorway | Production |

*Note: The voicemail mentions "split evenly across small through extra-large" for the MK-17. 36 items split evenly across 4 sizes equals 9 units per size. This has been noted in the table above.*
Finish reason: stop
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'google:gemini@3.1-flash-lite',
  inputs: {
    audios: [
      'https://assets.runware.ai/assets/inputs/44b59a67-2fa0-40f1-89d8-6dc5b2733dad.mp3'
    ]
  },
  messages: [
    {
      role: 'user',
      content: 'Process this wholesale buyer voicemail into a sales-team action brief. Provide: 1) a faithful verbatim transcript; 2) a concise summary of no more than four bullets; 3) a table listing each style, color, total quantity, size breakdown, and maximum target landed cost; 4) every date, delivery window, payment term, requested document, hold instruction, and response deadline; and 5) prioritized action items with owners suggested by role, such as account manager, production, logistics, or compliance. Clearly flag anything unclear or missing. Do not infer unsupported details or silently correct the speaker.'
    }
  ]
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "google:gemini@3.1-flash-lite",
            "inputs": {
                "audios": [
                    "https://assets.runware.ai/assets/inputs/44b59a67-2fa0-40f1-89d8-6dc5b2733dad.mp3"
                ]
            },
            "messages": [
                {
                    "role": "user",
                    "content": "Process this wholesale buyer voicemail into a sales-team action brief. Provide: 1) a faithful verbatim transcript; 2) a concise summary of no more than four bullets; 3) a table listing each style, color, total quantity, size breakdown, and maximum target landed cost; 4) every date, delivery window, payment term, requested document, hold instruction, and response deadline; and 5) prioritized action items with owners suggested by role, such as account manager, production, logistics, or compliance. Clearly flag anything unclear or missing. Do not infer unsupported details or silently correct the speaker."
                }
            ]
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "textInference",
      "taskUUID": "edbb355f-654e-4c6b-a284-1f3803a5b947",
      "model": "google:gemini@3.1-flash-lite",
      "inputs": {
        "audios": [
          "https://assets.runware.ai/assets/inputs/44b59a67-2fa0-40f1-89d8-6dc5b2733dad.mp3"
        ]
      },
      "messages": [
        {
          "role": "user",
          "content": "Process this wholesale buyer voicemail into a sales-team action brief. Provide: 1) a faithful verbatim transcript; 2) a concise summary of no more than four bullets; 3) a table listing each style, color, total quantity, size breakdown, and maximum target landed cost; 4) every date, delivery window, payment term, requested document, hold instruction, and response deadline; and 5) prioritized action items with owners suggested by role, such as account manager, production, logistics, or compliance. Clearly flag anything unclear or missing. Do not infer unsupported details or silently correct the speaker."
        }
      ]
    }
  ]'
runware run google:gemini@3.1-flash-lite \
  inputs.audios.0=https://assets.runware.ai/assets/inputs/44b59a67-2fa0-40f1-89d8-6dc5b2733dad.mp3 \
  messages.0.role=user \
  messages.0.content="Process this wholesale buyer voicemail into a sales-team action brief. Provide: 1) a faithful verbatim transcript; 2) a concise summary of no more than four bullets; 3) a table listing each style, color, total quantity, size breakdown, and maximum target landed cost; 4) every date, delivery window, payment term, requested document, hold instruction, and response deadline; and 5) prioritized action items with owners suggested by role, such as account manager, production, logistics, or compliance. Clearly flag anything unclear or missing. Do not infer unsupported details or silently correct the speaker."
{
  "taskType": "textInference",
  "taskUUID": "edbb355f-654e-4c6b-a284-1f3803a5b947",
  "model": "google:gemini@3.1-flash-lite",
  "inputs": {
    "audios": [
      "https://assets.runware.ai/assets/inputs/44b59a67-2fa0-40f1-89d8-6dc5b2733dad.mp3"
    ]
  },
  "messages": [
    {
      "role": "user",
      "content": "Process this wholesale buyer voicemail into a sales-team action brief. Provide: 1) a faithful verbatim transcript; 2) a concise summary of no more than four bullets; 3) a table listing each style, color, total quantity, size breakdown, and maximum target landed cost; 4) every date, delivery window, payment term, requested document, hold instruction, and response deadline; and 5) prioritized action items with owners suggested by role, such as account manager, production, logistics, or compliance. Clearly flag anything unclear or missing. Do not infer unsupported details or silently correct the speaker."
    }
  ]
}
Response
{
  "taskType": "textInference",
  "taskUUID": "edbb355f-654e-4c6b-a284-1f3803a5b947",
  "text": "Sure! Here is the action brief based on the voicemail provided.\n\n### 1. Verbatim Transcript\n\"Hi Mara, this is Celeste from Northline Outfitters following up after our line review. Please reserve 48 undyed canvas chore jackets, style CJ-204: 12 small, 18 medium, 12 large, and 6 extra-large. We also want 36 ribbed merino crews in moss, style MK-17, split evenly across small through extra-large. Target landed cost is no more than $62 for the jacket and 48 for the knit. We need samples by September 18th, 2026. Final confirmation by September 22nd, and delivery to our Portland distribution center between November 4th and 8th. Terms are net 30. Please send the revised line sheet and recycled content certificate. Hold off on the rust colorway. Confirm everything by 3:00 PM Pacific tomorrow. Thanks.\"\n\n### 2. Summary of Requests\n* The client would like to place an order for 48 units of CJ-204 canvas chore jackets and 36 units of MK-17 ribbed merino crews.\n* Samples are due September 18th, 2026, with final confirmation by September 22nd. \n* Delivery to the client's Portland distribution center is requested for November 4th-8th.\n* The client requested a revised line sheet, recycled content certificate, and to put the rust colorway on hold.\n\n### 3. Order Details\n| Style | Color | Total Quantity | Size Breakdown | Max Landed Cost |\n| :--- | :--- | :--- | :--- | :--- |\n| CJ-204 | Undyed Canvas | 48 | 12S, 18M, 12L, 6XL | $62 |\n| MK-17 | Moss | 36 | 9S, 9M, 9L, 9XL | $48 |\n\n### 4. Dates, Terms, and Documentation\n* **Sample delivery date:** September 18th, 2026\n* **Final confirmation deadline:** September 22nd, 2026\n* **Delivery window:** November 4th-8th, 2026\n* **Payment terms:** Net 30\n* **Required documents:** Revised line sheet and recycled content certificate\n* **Hold instruction:** Rust colorway\n* **Response deadline:** 3:00 PM Pacific, tomorrow \n\n### 5. Prioritized Action Items\n| Action Item | Owner (Suggested Role) |\n| :--- | :--- |\n| Acknowledge voicemail and confirm all items by 3 PM tomorrow | Account Manager |\n| Coordinate and prepare sample delivery for Sept 18 | Production/Operations |\n| Confirm cost requirements are met for landing | Logistics |\n| Provide revised line sheet and recycled content certificate | Account Manager/Compliance |\n| Hold production for \"rust\" colorway | Production |\n\n*Note: The voicemail mentions \"split evenly across small through extra-large\" for the MK-17. 36 items split evenly across 4 sizes equals 9 units per size. This has been noted in the table above.*",
  "cost": 0.001768,
  "finishReason": "stop",
  "thoughtSignature": "[REDACTED]"
}

structured-output

Retail Lease Abstract JSON Record$0.00181~3s
{
  "lease_date": "2026-02-12",
  "parties": {
    "landlord": "Harbor Point Retail LLC",
    "tenant": "Juniper Bicycle Works, Inc."
  },
  "premises": {
    "suite": "140",
    "street_address": "88 Meridian Avenue",
    "city": "Portland",
    "state": "Maine",
    "rentable_square_feet": 2850,
    "measurement_qualified": true
  },
  "term": {
    "commencement_trigger": "Later of June 1, 2026 or date Landlord delivers premises with base building work substantially complete",
    "fixed_commencement_date": null,
    "term_years": 7,
    "expiration_basis": "Seven years after the Rent Commencement Date",
    "free_rent_months": 3
  },
  "base_rent_schedule": [
    {
      "start_lease_year": 1,
      "end_lease_year": 2,
      "annual_rent_usd": 102600.0,
      "monthly_rent_usd": 8550.0
    },
    {
      "start_lease_year": 3,
      "end_lease_year": 4,
      "annual_rent_usd": 107730.0,
      "monthly_rent_usd": 8977.5
    },
    {
      "start_lease_year": 5,
      "end_lease_year": 6,
      "annual_rent_usd": 113116.5,
      "monthly_rent_usd": 9426.38
    },
    {
      "start_lease_year": 7,
      "end_lease_year": 7,
      "annual_rent_usd": 118772.33,
      "monthly_rent_usd": 9897.69
    }
  ],
  "additional_economics": {
    "operating_expense_share_percent": 4.75,
    "separately_metered_utilities": [
      "electricity",
      "water"
    ],
    "security_deposit_usd": 25650.0
  },
  "renewal_option": {
    "option_count": 1,
    "option_term_years": 5,
    "rent_basis": "Fair market rent, but not less than the base rent payable during the final lease year",
    "notice_earliest_months_before_expiration": 15,
    "notice_latest_months_before_expiration": 12
  },
  "operational_terms": {
    "permitted_use": "Retail sale and repair of bicycles, cycling apparel, and related accessories, including customer test rides in areas designated by Landlord",
    "assignment_consent_standard": "Not to be unreasonably withheld, conditioned, or delayed",
    "landlord_repair_responsibilities": [
      "structural walls",
      "roof membrane",
      "foundation"
    ],
    "liability_insurance_per_occurrence_usd": 2000000.0,
    "liability_insurance_aggregate_usd": 4000000.0
  },
  "review_flags": [
    {
      "field": "security_deposit_usd",
      "severity": "medium",
      "issue": "Discrepancy in security deposit amount between main lease text and Exhibit C",
      "source_values": [
        "25650.0",
        "24000.0"
      ]
    }
  ]
}
Finish reason: stop
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  outputFormat: 'JSON',
  model: 'google:gemini@3.1-flash-lite',
  messages: [
    {
      role: 'user',
      content: 'Extract the lease terms below into the supplied JSON schema. Use ISO 8601 dates. Express monetary amounts in USD and preserve any unresolved conflict or missing term in review_flags rather than guessing.\n\nLEASE EXCERPT\nLease dated February 12, 2026, between Harbor Point Retail LLC (Landlord) and Juniper Bicycle Works, Inc. (Tenant) for Suite 140, 88 Meridian Avenue, Portland, Maine. The premises contain approximately 2,850 rentable square feet.\n\nThe term begins on the later of June 1, 2026 or the date Landlord delivers the premises with the base building work substantially complete. The term expires seven years after the Rent Commencement Date. Base rent is abated for the first three full calendar months following the Rent Commencement Date. Thereafter, annual base rent is $102,600 for Lease Years 1–2, $107,730 for Years 3–4, $113,116.50 for Years 5–6, and $118,772.33 for Year 7, payable in equal monthly installments.\n\nTenant\'s proportionate share of operating expenses is 4.75%. Tenant pays separately metered electricity and water. Landlord remains responsible for structural walls, roof membrane, and foundation, except to the extent damage is caused by Tenant.\n\nTenant has one five-year renewal option at fair market rent, but not less than the base rent payable during the final lease year. Tenant must provide written renewal notice no earlier than 15 months and no later than 12 months before expiration. Assignment requires Landlord\'s prior written consent, not to be unreasonably withheld, conditioned, or delayed.\n\nThe security deposit is $25,650. Exhibit C instead lists the deposit as $24,000. Tenant must maintain commercial general liability insurance of at least $2,000,000 per occurrence and $4,000,000 aggregate. The permitted use is the retail sale and repair of bicycles, cycling apparel, and related accessories, including customer test rides in areas designated by Landlord.'
    }
  ],
  jsonSchema: {
    name: 'retail_lease_abstract',
    strict: true,
    schema: {
      type: 'object',
      properties: {
        lease_date: {
          type: 'string',
          description: 'Lease execution date in ISO 8601 format.'
        },
        parties: {
          type: 'object',
          properties: {
            landlord: {
              type: 'string'
            },
            tenant: {
              type: 'string'
            }
          },
          required: [
            'landlord',
            'tenant'
          ],
          additionalProperties: false
        },
        premises: {
          type: 'object',
          properties: {
            suite: {
              type: 'string'
            },
            street_address: {
              type: 'string'
            },
            city: {
              type: 'string'
            },
            state: {
              type: 'string'
            },
            rentable_square_feet: {
              type: 'integer'
            },
            measurement_qualified: {
              type: 'boolean',
              description: 'True when the stated area is approximate or otherwise qualified.'
            }
          },
          required: [
            'suite',
            'street_address',
            'city',
            'state',
            'rentable_square_feet',
            'measurement_qualified'
          ],
          additionalProperties: false
        },
        term: {
          type: 'object',
          properties: {
            commencement_trigger: {
              type: 'string'
            },
            fixed_commencement_date: {
              type: [
                'string',
                'null'
              ]
            },
            term_years: {
              type: 'integer'
            },
            expiration_basis: {
              type: 'string'
            },
            free_rent_months: {
              type: 'integer'
            }
          },
          required: [
            'commencement_trigger',
            'fixed_commencement_date',
            'term_years',
            'expiration_basis',
            'free_rent_months'
          ],
          additionalProperties: false
        },
        base_rent_schedule: {
          type: 'array',
          items: {
            type: 'object',
            properties: {
              start_lease_year: {
                type: 'integer'
              },
              end_lease_year: {
                type: 'integer'
              },
              annual_rent_usd: {
                type: 'number'
              },
              monthly_rent_usd: {
                type: 'number'
              }
            },
            required: [
              'start_lease_year',
              'end_lease_year',
              'annual_rent_usd',
              'monthly_rent_usd'
            ],
            additionalProperties: false
          }
        },
        additional_economics: {
          type: 'object',
          properties: {
            operating_expense_share_percent: {
              type: 'number'
            },
            separately_metered_utilities: {
              type: 'array',
              items: {
                type: 'string'
              }
            },
            security_deposit_usd: {
              type: [
                'number',
                'null'
              ]
            }
          },
          required: [
            'operating_expense_share_percent',
            'separately_metered_utilities',
            'security_deposit_usd'
          ],
          additionalProperties: false
        },
        renewal_option: {
          type: 'object',
          properties: {
            option_count: {
              type: 'integer'
            },
            option_term_years: {
              type: 'integer'
            },
            rent_basis: {
              type: 'string'
            },
            notice_earliest_months_before_expiration: {
              type: 'integer'
            },
            notice_latest_months_before_expiration: {
              type: 'integer'
            }
          },
          required: [
            'option_count',
            'option_term_years',
            'rent_basis',
            'notice_earliest_months_before_expiration',
            'notice_latest_months_before_expiration'
          ],
          additionalProperties: false
        },
        operational_terms: {
          type: 'object',
          properties: {
            permitted_use: {
              type: 'string'
            },
            assignment_consent_standard: {
              type: 'string'
            },
            landlord_repair_responsibilities: {
              type: 'array',
              items: {
                type: 'string'
              }
            },
            liability_insurance_per_occurrence_usd: {
              type: 'number'
            },
            liability_insurance_aggregate_usd: {
              type: 'number'
            }
          },
          required: [
            'permitted_use',
            'assignment_consent_standard',
            'landlord_repair_responsibilities',
            'liability_insurance_per_occurrence_usd',
            'liability_insurance_aggregate_usd'
          ],
          additionalProperties: false
        },
        review_flags: {
          type: 'array',
          items: {
            type: 'object',
            properties: {
              field: {
                type: 'string'
              },
              severity: {
                type: 'string',
                enum: [
                  'low',
                  'medium',
                  'high'
                ]
              },
              issue: {
                type: 'string'
              },
              source_values: {
                type: 'array',
                items: {
                  type: 'string'
                }
              }
            },
            required: [
              'field',
              'severity',
              'issue',
              'source_values'
            ],
            additionalProperties: false
          }
        }
      },
      required: [
        'lease_date',
        'parties',
        'premises',
        'term',
        'base_rent_schedule',
        'additional_economics',
        'renewal_option',
        'operational_terms',
        'review_flags'
      ],
      additionalProperties: false
    },
    type: 'object',
    properties: {
      summary: {
        type: 'string'
      },
      keyPoints: {
        type: 'array',
        items: {
          type: 'string'
        }
      },
      confidence: {
        type: 'number',
        minimum: 0,
        maximum: 1
      }
    },
    required: [
      'summary',
      'keyPoints',
      'confidence'
    ],
    additionalProperties: false
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "outputFormat": "JSON",
            "model": "google:gemini@3.1-flash-lite",
            "messages": [
                {
                    "role": "user",
                    "content": "Extract the lease terms below into the supplied JSON schema. Use ISO 8601 dates. Express monetary amounts in USD and preserve any unresolved conflict or missing term in review_flags rather than guessing.\n\nLEASE EXCERPT\nLease dated February 12, 2026, between Harbor Point Retail LLC (Landlord) and Juniper Bicycle Works, Inc. (Tenant) for Suite 140, 88 Meridian Avenue, Portland, Maine. The premises contain approximately 2,850 rentable square feet.\n\nThe term begins on the later of June 1, 2026 or the date Landlord delivers the premises with the base building work substantially complete. The term expires seven years after the Rent Commencement Date. Base rent is abated for the first three full calendar months following the Rent Commencement Date. Thereafter, annual base rent is $102,600 for Lease Years 1–2, $107,730 for Years 3–4, $113,116.50 for Years 5–6, and $118,772.33 for Year 7, payable in equal monthly installments.\n\nTenant's proportionate share of operating expenses is 4.75%. Tenant pays separately metered electricity and water. Landlord remains responsible for structural walls, roof membrane, and foundation, except to the extent damage is caused by Tenant.\n\nTenant has one five-year renewal option at fair market rent, but not less than the base rent payable during the final lease year. Tenant must provide written renewal notice no earlier than 15 months and no later than 12 months before expiration. Assignment requires Landlord's prior written consent, not to be unreasonably withheld, conditioned, or delayed.\n\nThe security deposit is $25,650. Exhibit C instead lists the deposit as $24,000. Tenant must maintain commercial general liability insurance of at least $2,000,000 per occurrence and $4,000,000 aggregate. The permitted use is the retail sale and repair of bicycles, cycling apparel, and related accessories, including customer test rides in areas designated by Landlord."
                }
            ],
            "jsonSchema": {
                "name": "retail_lease_abstract",
                "strict": True,
                "schema": {
                    "type": "object",
                    "properties": {
                        "lease_date": {
                            "type": "string",
                            "description": "Lease execution date in ISO 8601 format."
                        },
                        "parties": {
                            "type": "object",
                            "properties": {
                                "landlord": {
                                    "type": "string"
                                },
                                "tenant": {
                                    "type": "string"
                                }
                            },
                            "required": [
                                "landlord",
                                "tenant"
                            ],
                            "additionalProperties": False
                        },
                        "premises": {
                            "type": "object",
                            "properties": {
                                "suite": {
                                    "type": "string"
                                },
                                "street_address": {
                                    "type": "string"
                                },
                                "city": {
                                    "type": "string"
                                },
                                "state": {
                                    "type": "string"
                                },
                                "rentable_square_feet": {
                                    "type": "integer"
                                },
                                "measurement_qualified": {
                                    "type": "boolean",
                                    "description": "True when the stated area is approximate or otherwise qualified."
                                }
                            },
                            "required": [
                                "suite",
                                "street_address",
                                "city",
                                "state",
                                "rentable_square_feet",
                                "measurement_qualified"
                            ],
                            "additionalProperties": False
                        },
                        "term": {
                            "type": "object",
                            "properties": {
                                "commencement_trigger": {
                                    "type": "string"
                                },
                                "fixed_commencement_date": {
                                    "type": [
                                        "string",
                                        "null"
                                    ]
                                },
                                "term_years": {
                                    "type": "integer"
                                },
                                "expiration_basis": {
                                    "type": "string"
                                },
                                "free_rent_months": {
                                    "type": "integer"
                                }
                            },
                            "required": [
                                "commencement_trigger",
                                "fixed_commencement_date",
                                "term_years",
                                "expiration_basis",
                                "free_rent_months"
                            ],
                            "additionalProperties": False
                        },
                        "base_rent_schedule": {
                            "type": "array",
                            "items": {
                                "type": "object",
                                "properties": {
                                    "start_lease_year": {
                                        "type": "integer"
                                    },
                                    "end_lease_year": {
                                        "type": "integer"
                                    },
                                    "annual_rent_usd": {
                                        "type": "number"
                                    },
                                    "monthly_rent_usd": {
                                        "type": "number"
                                    }
                                },
                                "required": [
                                    "start_lease_year",
                                    "end_lease_year",
                                    "annual_rent_usd",
                                    "monthly_rent_usd"
                                ],
                                "additionalProperties": False
                            }
                        },
                        "additional_economics": {
                            "type": "object",
                            "properties": {
                                "operating_expense_share_percent": {
                                    "type": "number"
                                },
                                "separately_metered_utilities": {
                                    "type": "array",
                                    "items": {
                                        "type": "string"
                                    }
                                },
                                "security_deposit_usd": {
                                    "type": [
                                        "number",
                                        "null"
                                    ]
                                }
                            },
                            "required": [
                                "operating_expense_share_percent",
                                "separately_metered_utilities",
                                "security_deposit_usd"
                            ],
                            "additionalProperties": False
                        },
                        "renewal_option": {
                            "type": "object",
                            "properties": {
                                "option_count": {
                                    "type": "integer"
                                },
                                "option_term_years": {
                                    "type": "integer"
                                },
                                "rent_basis": {
                                    "type": "string"
                                },
                                "notice_earliest_months_before_expiration": {
                                    "type": "integer"
                                },
                                "notice_latest_months_before_expiration": {
                                    "type": "integer"
                                }
                            },
                            "required": [
                                "option_count",
                                "option_term_years",
                                "rent_basis",
                                "notice_earliest_months_before_expiration",
                                "notice_latest_months_before_expiration"
                            ],
                            "additionalProperties": False
                        },
                        "operational_terms": {
                            "type": "object",
                            "properties": {
                                "permitted_use": {
                                    "type": "string"
                                },
                                "assignment_consent_standard": {
                                    "type": "string"
                                },
                                "landlord_repair_responsibilities": {
                                    "type": "array",
                                    "items": {
                                        "type": "string"
                                    }
                                },
                                "liability_insurance_per_occurrence_usd": {
                                    "type": "number"
                                },
                                "liability_insurance_aggregate_usd": {
                                    "type": "number"
                                }
                            },
                            "required": [
                                "permitted_use",
                                "assignment_consent_standard",
                                "landlord_repair_responsibilities",
                                "liability_insurance_per_occurrence_usd",
                                "liability_insurance_aggregate_usd"
                            ],
                            "additionalProperties": False
                        },
                        "review_flags": {
                            "type": "array",
                            "items": {
                                "type": "object",
                                "properties": {
                                    "field": {
                                        "type": "string"
                                    },
                                    "severity": {
                                        "type": "string",
                                        "enum": [
                                            "low",
                                            "medium",
                                            "high"
                                        ]
                                    },
                                    "issue": {
                                        "type": "string"
                                    },
                                    "source_values": {
                                        "type": "array",
                                        "items": {
                                            "type": "string"
                                        }
                                    }
                                },
                                "required": [
                                    "field",
                                    "severity",
                                    "issue",
                                    "source_values"
                                ],
                                "additionalProperties": False
                            }
                        }
                    },
                    "required": [
                        "lease_date",
                        "parties",
                        "premises",
                        "term",
                        "base_rent_schedule",
                        "additional_economics",
                        "renewal_option",
                        "operational_terms",
                        "review_flags"
                    ],
                    "additionalProperties": False
                },
                "type": "object",
                "properties": {
                    "summary": {
                        "type": "string"
                    },
                    "keyPoints": {
                        "type": "array",
                        "items": {
                            "type": "string"
                        }
                    },
                    "confidence": {
                        "type": "number",
                        "minimum": 0,
                        "maximum": 1
                    }
                },
                "required": [
                    "summary",
                    "keyPoints",
                    "confidence"
                ],
                "additionalProperties": False
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "textInference",
      "taskUUID": "74a38d59-5482-4518-a718-a348c3bc354d",
      "outputFormat": "JSON",
      "model": "google:gemini@3.1-flash-lite",
      "messages": [
        {
          "role": "user",
          "content": "Extract the lease terms below into the supplied JSON schema. Use ISO 8601 dates. Express monetary amounts in USD and preserve any unresolved conflict or missing term in review_flags rather than guessing.\n\nLEASE EXCERPT\nLease dated February 12, 2026, between Harbor Point Retail LLC (Landlord) and Juniper Bicycle Works, Inc. (Tenant) for Suite 140, 88 Meridian Avenue, Portland, Maine. The premises contain approximately 2,850 rentable square feet.\n\nThe term begins on the later of June 1, 2026 or the date Landlord delivers the premises with the base building work substantially complete. The term expires seven years after the Rent Commencement Date. Base rent is abated for the first three full calendar months following the Rent Commencement Date. Thereafter, annual base rent is $102,600 for Lease Years 1–2, $107,730 for Years 3–4, $113,116.50 for Years 5–6, and $118,772.33 for Year 7, payable in equal monthly installments.\n\nTenant's proportionate share of operating expenses is 4.75%. Tenant pays separately metered electricity and water. Landlord remains responsible for structural walls, roof membrane, and foundation, except to the extent damage is caused by Tenant.\n\nTenant has one five-year renewal option at fair market rent, but not less than the base rent payable during the final lease year. Tenant must provide written renewal notice no earlier than 15 months and no later than 12 months before expiration. Assignment requires Landlord's prior written consent, not to be unreasonably withheld, conditioned, or delayed.\n\nThe security deposit is $25,650. Exhibit C instead lists the deposit as $24,000. Tenant must maintain commercial general liability insurance of at least $2,000,000 per occurrence and $4,000,000 aggregate. The permitted use is the retail sale and repair of bicycles, cycling apparel, and related accessories, including customer test rides in areas designated by Landlord."
        }
      ],
      "jsonSchema": {
        "name": "retail_lease_abstract",
        "strict": true,
        "schema": {
          "type": "object",
          "properties": {
            "lease_date": {
              "type": "string",
              "description": "Lease execution date in ISO 8601 format."
            },
            "parties": {
              "type": "object",
              "properties": {
                "landlord": {
                  "type": "string"
                },
                "tenant": {
                  "type": "string"
                }
              },
              "required": [
                "landlord",
                "tenant"
              ],
              "additionalProperties": false
            },
            "premises": {
              "type": "object",
              "properties": {
                "suite": {
                  "type": "string"
                },
                "street_address": {
                  "type": "string"
                },
                "city": {
                  "type": "string"
                },
                "state": {
                  "type": "string"
                },
                "rentable_square_feet": {
                  "type": "integer"
                },
                "measurement_qualified": {
                  "type": "boolean",
                  "description": "True when the stated area is approximate or otherwise qualified."
                }
              },
              "required": [
                "suite",
                "street_address",
                "city",
                "state",
                "rentable_square_feet",
                "measurement_qualified"
              ],
              "additionalProperties": false
            },
            "term": {
              "type": "object",
              "properties": {
                "commencement_trigger": {
                  "type": "string"
                },
                "fixed_commencement_date": {
                  "type": [
                    "string",
                    "null"
                  ]
                },
                "term_years": {
                  "type": "integer"
                },
                "expiration_basis": {
                  "type": "string"
                },
                "free_rent_months": {
                  "type": "integer"
                }
              },
              "required": [
                "commencement_trigger",
                "fixed_commencement_date",
                "term_years",
                "expiration_basis",
                "free_rent_months"
              ],
              "additionalProperties": false
            },
            "base_rent_schedule": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "start_lease_year": {
                    "type": "integer"
                  },
                  "end_lease_year": {
                    "type": "integer"
                  },
                  "annual_rent_usd": {
                    "type": "number"
                  },
                  "monthly_rent_usd": {
                    "type": "number"
                  }
                },
                "required": [
                  "start_lease_year",
                  "end_lease_year",
                  "annual_rent_usd",
                  "monthly_rent_usd"
                ],
                "additionalProperties": false
              }
            },
            "additional_economics": {
              "type": "object",
              "properties": {
                "operating_expense_share_percent": {
                  "type": "number"
                },
                "separately_metered_utilities": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "security_deposit_usd": {
                  "type": [
                    "number",
                    "null"
                  ]
                }
              },
              "required": [
                "operating_expense_share_percent",
                "separately_metered_utilities",
                "security_deposit_usd"
              ],
              "additionalProperties": false
            },
            "renewal_option": {
              "type": "object",
              "properties": {
                "option_count": {
                  "type": "integer"
                },
                "option_term_years": {
                  "type": "integer"
                },
                "rent_basis": {
                  "type": "string"
                },
                "notice_earliest_months_before_expiration": {
                  "type": "integer"
                },
                "notice_latest_months_before_expiration": {
                  "type": "integer"
                }
              },
              "required": [
                "option_count",
                "option_term_years",
                "rent_basis",
                "notice_earliest_months_before_expiration",
                "notice_latest_months_before_expiration"
              ],
              "additionalProperties": false
            },
            "operational_terms": {
              "type": "object",
              "properties": {
                "permitted_use": {
                  "type": "string"
                },
                "assignment_consent_standard": {
                  "type": "string"
                },
                "landlord_repair_responsibilities": {
                  "type": "array",
                  "items": {
                    "type": "string"
                  }
                },
                "liability_insurance_per_occurrence_usd": {
                  "type": "number"
                },
                "liability_insurance_aggregate_usd": {
                  "type": "number"
                }
              },
              "required": [
                "permitted_use",
                "assignment_consent_standard",
                "landlord_repair_responsibilities",
                "liability_insurance_per_occurrence_usd",
                "liability_insurance_aggregate_usd"
              ],
              "additionalProperties": false
            },
            "review_flags": {
              "type": "array",
              "items": {
                "type": "object",
                "properties": {
                  "field": {
                    "type": "string"
                  },
                  "severity": {
                    "type": "string",
                    "enum": [
                      "low",
                      "medium",
                      "high"
                    ]
                  },
                  "issue": {
                    "type": "string"
                  },
                  "source_values": {
                    "type": "array",
                    "items": {
                      "type": "string"
                    }
                  }
                },
                "required": [
                  "field",
                  "severity",
                  "issue",
                  "source_values"
                ],
                "additionalProperties": false
              }
            }
          },
          "required": [
            "lease_date",
            "parties",
            "premises",
            "term",
            "base_rent_schedule",
            "additional_economics",
            "renewal_option",
            "operational_terms",
            "review_flags"
          ],
          "additionalProperties": false
        },
        "type": "object",
        "properties": {
          "summary": {
            "type": "string"
          },
          "keyPoints": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "confidence": {
            "type": "number",
            "minimum": 0,
            "maximum": 1
          }
        },
        "required": [
          "summary",
          "keyPoints",
          "confidence"
        ],
        "additionalProperties": false
      }
    }
  ]'
runware run google:gemini@3.1-flash-lite \
  outputFormat=JSON \
  messages.0.role=user \
  messages.0.content="Extract the lease terms below into the supplied JSON schema. Use ISO 8601 dates. Express monetary amounts in USD and preserve any unresolved conflict or missing term in review_flags rather than guessing.

LEASE EXCERPT
Lease dated February 12, 2026, between Harbor Point Retail LLC (Landlord) and Juniper Bicycle Works, Inc. (Tenant) for Suite 140, 88 Meridian Avenue, Portland, Maine. The premises contain approximately 2,850 rentable square feet.

The term begins on the later of June 1, 2026 or the date Landlord delivers the premises with the base building work substantially complete. The term expires seven years after the Rent Commencement Date. Base rent is abated for the first three full calendar months following the Rent Commencement Date. Thereafter, annual base rent is \$102,600 for Lease Years 1–2, \$107,730 for Years 3–4, \$113,116.50 for Years 5–6, and \$118,772.33 for Year 7, payable in equal monthly installments.

Tenant's proportionate share of operating expenses is 4.75%. Tenant pays separately metered electricity and water. Landlord remains responsible for structural walls, roof membrane, and foundation, except to the extent damage is caused by Tenant.

Tenant has one five-year renewal option at fair market rent, but not less than the base rent payable during the final lease year. Tenant must provide written renewal notice no earlier than 15 months and no later than 12 months before expiration. Assignment requires Landlord's prior written consent, not to be unreasonably withheld, conditioned, or delayed.

The security deposit is \$25,650. Exhibit C instead lists the deposit as \$24,000. Tenant must maintain commercial general liability insurance of at least \$2,000,000 per occurrence and \$4,000,000 aggregate. The permitted use is the retail sale and repair of bicycles, cycling apparel, and related accessories, including customer test rides in areas designated by Landlord." \
  jsonSchema.name=retail_lease_abstract \
  jsonSchema.strict=true \
  jsonSchema.schema.type=object \
  jsonSchema.schema.properties.lease_date.type=string \
  jsonSchema.schema.properties.lease_date.description="Lease execution date in ISO 8601 format." \
  jsonSchema.schema.properties.parties.type=object \
  jsonSchema.schema.properties.parties.properties.landlord.type=string \
  jsonSchema.schema.properties.parties.properties.tenant.type=string \
  jsonSchema.schema.properties.parties.required.0=landlord \
  jsonSchema.schema.properties.parties.required.1=tenant \
  jsonSchema.schema.properties.parties.additionalProperties=false \
  jsonSchema.schema.properties.premises.type=object \
  jsonSchema.schema.properties.premises.properties.suite.type=string \
  jsonSchema.schema.properties.premises.properties.street_address.type=string \
  jsonSchema.schema.properties.premises.properties.city.type=string \
  jsonSchema.schema.properties.premises.properties.state.type=string \
  jsonSchema.schema.properties.premises.properties.rentable_square_feet.type=integer \
  jsonSchema.schema.properties.premises.properties.measurement_qualified.type=boolean \
  jsonSchema.schema.properties.premises.properties.measurement_qualified.description="True when the stated area is approximate or otherwise qualified." \
  jsonSchema.schema.properties.premises.required.0=suite \
  jsonSchema.schema.properties.premises.required.1=street_address \
  jsonSchema.schema.properties.premises.required.2=city \
  jsonSchema.schema.properties.premises.required.3=state \
  jsonSchema.schema.properties.premises.required.4=rentable_square_feet \
  jsonSchema.schema.properties.premises.required.5=measurement_qualified \
  jsonSchema.schema.properties.premises.additionalProperties=false \
  jsonSchema.schema.properties.term.type=object \
  jsonSchema.schema.properties.term.properties.commencement_trigger.type=string \
  jsonSchema.schema.properties.term.properties.fixed_commencement_date.type.0=string \
  jsonSchema.schema.properties.term.properties.fixed_commencement_date.type.1=null \
  jsonSchema.schema.properties.term.properties.term_years.type=integer \
  jsonSchema.schema.properties.term.properties.expiration_basis.type=string \
  jsonSchema.schema.properties.term.properties.free_rent_months.type=integer \
  jsonSchema.schema.properties.term.required.0=commencement_trigger \
  jsonSchema.schema.properties.term.required.1=fixed_commencement_date \
  jsonSchema.schema.properties.term.required.2=term_years \
  jsonSchema.schema.properties.term.required.3=expiration_basis \
  jsonSchema.schema.properties.term.required.4=free_rent_months \
  jsonSchema.schema.properties.term.additionalProperties=false \
  jsonSchema.schema.properties.base_rent_schedule.type=array \
  jsonSchema.schema.properties.base_rent_schedule.items.type=object \
  jsonSchema.schema.properties.base_rent_schedule.items.properties.start_lease_year.type=integer \
  jsonSchema.schema.properties.base_rent_schedule.items.properties.end_lease_year.type=integer \
  jsonSchema.schema.properties.base_rent_schedule.items.properties.annual_rent_usd.type=number \
  jsonSchema.schema.properties.base_rent_schedule.items.properties.monthly_rent_usd.type=number \
  jsonSchema.schema.properties.base_rent_schedule.items.required.0=start_lease_year \
  jsonSchema.schema.properties.base_rent_schedule.items.required.1=end_lease_year \
  jsonSchema.schema.properties.base_rent_schedule.items.required.2=annual_rent_usd \
  jsonSchema.schema.properties.base_rent_schedule.items.required.3=monthly_rent_usd \
  jsonSchema.schema.properties.base_rent_schedule.items.additionalProperties=false \
  jsonSchema.schema.properties.additional_economics.type=object \
  jsonSchema.schema.properties.additional_economics.properties.operating_expense_share_percent.type=number \
  jsonSchema.schema.properties.additional_economics.properties.separately_metered_utilities.type=array \
  jsonSchema.schema.properties.additional_economics.properties.separately_metered_utilities.items.type=string \
  jsonSchema.schema.properties.additional_economics.properties.security_deposit_usd.type.0=number \
  jsonSchema.schema.properties.additional_economics.properties.security_deposit_usd.type.1=null \
  jsonSchema.schema.properties.additional_economics.required.0=operating_expense_share_percent \
  jsonSchema.schema.properties.additional_economics.required.1=separately_metered_utilities \
  jsonSchema.schema.properties.additional_economics.required.2=security_deposit_usd \
  jsonSchema.schema.properties.additional_economics.additionalProperties=false \
  jsonSchema.schema.properties.renewal_option.type=object \
  jsonSchema.schema.properties.renewal_option.properties.option_count.type=integer \
  jsonSchema.schema.properties.renewal_option.properties.option_term_years.type=integer \
  jsonSchema.schema.properties.renewal_option.properties.rent_basis.type=string \
  jsonSchema.schema.properties.renewal_option.properties.notice_earliest_months_before_expiration.type=integer \
  jsonSchema.schema.properties.renewal_option.properties.notice_latest_months_before_expiration.type=integer \
  jsonSchema.schema.properties.renewal_option.required.0=option_count \
  jsonSchema.schema.properties.renewal_option.required.1=option_term_years \
  jsonSchema.schema.properties.renewal_option.required.2=rent_basis \
  jsonSchema.schema.properties.renewal_option.required.3=notice_earliest_months_before_expiration \
  jsonSchema.schema.properties.renewal_option.required.4=notice_latest_months_before_expiration \
  jsonSchema.schema.properties.renewal_option.additionalProperties=false \
  jsonSchema.schema.properties.operational_terms.type=object \
  jsonSchema.schema.properties.operational_terms.properties.permitted_use.type=string \
  jsonSchema.schema.properties.operational_terms.properties.assignment_consent_standard.type=string \
  jsonSchema.schema.properties.operational_terms.properties.landlord_repair_responsibilities.type=array \
  jsonSchema.schema.properties.operational_terms.properties.landlord_repair_responsibilities.items.type=string \
  jsonSchema.schema.properties.operational_terms.properties.liability_insurance_per_occurrence_usd.type=number \
  jsonSchema.schema.properties.operational_terms.properties.liability_insurance_aggregate_usd.type=number \
  jsonSchema.schema.properties.operational_terms.required.0=permitted_use \
  jsonSchema.schema.properties.operational_terms.required.1=assignment_consent_standard \
  jsonSchema.schema.properties.operational_terms.required.2=landlord_repair_responsibilities \
  jsonSchema.schema.properties.operational_terms.required.3=liability_insurance_per_occurrence_usd \
  jsonSchema.schema.properties.operational_terms.required.4=liability_insurance_aggregate_usd \
  jsonSchema.schema.properties.operational_terms.additionalProperties=false \
  jsonSchema.schema.properties.review_flags.type=array \
  jsonSchema.schema.properties.review_flags.items.type=object \
  jsonSchema.schema.properties.review_flags.items.properties.field.type=string \
  jsonSchema.schema.properties.review_flags.items.properties.severity.type=string \
  jsonSchema.schema.properties.review_flags.items.properties.severity.enum.0=low \
  jsonSchema.schema.properties.review_flags.items.properties.severity.enum.1=medium \
  jsonSchema.schema.properties.review_flags.items.properties.severity.enum.2=high \
  jsonSchema.schema.properties.review_flags.items.properties.issue.type=string \
  jsonSchema.schema.properties.review_flags.items.properties.source_values.type=array \
  jsonSchema.schema.properties.review_flags.items.properties.source_values.items.type=string \
  jsonSchema.schema.properties.review_flags.items.required.0=field \
  jsonSchema.schema.properties.review_flags.items.required.1=severity \
  jsonSchema.schema.properties.review_flags.items.required.2=issue \
  jsonSchema.schema.properties.review_flags.items.required.3=source_values \
  jsonSchema.schema.properties.review_flags.items.additionalProperties=false \
  jsonSchema.schema.required.0=lease_date \
  jsonSchema.schema.required.1=parties \
  jsonSchema.schema.required.2=premises \
  jsonSchema.schema.required.3=term \
  jsonSchema.schema.required.4=base_rent_schedule \
  jsonSchema.schema.required.5=additional_economics \
  jsonSchema.schema.required.6=renewal_option \
  jsonSchema.schema.required.7=operational_terms \
  jsonSchema.schema.required.8=review_flags \
  jsonSchema.schema.additionalProperties=false \
  jsonSchema.type=object \
  jsonSchema.properties.summary.type=string \
  jsonSchema.properties.keyPoints.type=array \
  jsonSchema.properties.keyPoints.items.type=string \
  jsonSchema.properties.confidence.type=number \
  jsonSchema.properties.confidence.minimum=0 \
  jsonSchema.properties.confidence.maximum=1 \
  jsonSchema.required.0=summary \
  jsonSchema.required.1=keyPoints \
  jsonSchema.required.2=confidence \
  jsonSchema.additionalProperties=false
{
  "taskType": "textInference",
  "taskUUID": "74a38d59-5482-4518-a718-a348c3bc354d",
  "outputFormat": "JSON",
  "model": "google:gemini@3.1-flash-lite",
  "messages": [
    {
      "role": "user",
      "content": "Extract the lease terms below into the supplied JSON schema. Use ISO 8601 dates. Express monetary amounts in USD and preserve any unresolved conflict or missing term in review_flags rather than guessing.\n\nLEASE EXCERPT\nLease dated February 12, 2026, between Harbor Point Retail LLC (Landlord) and Juniper Bicycle Works, Inc. (Tenant) for Suite 140, 88 Meridian Avenue, Portland, Maine. The premises contain approximately 2,850 rentable square feet.\n\nThe term begins on the later of June 1, 2026 or the date Landlord delivers the premises with the base building work substantially complete. The term expires seven years after the Rent Commencement Date. Base rent is abated for the first three full calendar months following the Rent Commencement Date. Thereafter, annual base rent is $102,600 for Lease Years 1–2, $107,730 for Years 3–4, $113,116.50 for Years 5–6, and $118,772.33 for Year 7, payable in equal monthly installments.\n\nTenant's proportionate share of operating expenses is 4.75%. Tenant pays separately metered electricity and water. Landlord remains responsible for structural walls, roof membrane, and foundation, except to the extent damage is caused by Tenant.\n\nTenant has one five-year renewal option at fair market rent, but not less than the base rent payable during the final lease year. Tenant must provide written renewal notice no earlier than 15 months and no later than 12 months before expiration. Assignment requires Landlord's prior written consent, not to be unreasonably withheld, conditioned, or delayed.\n\nThe security deposit is $25,650. Exhibit C instead lists the deposit as $24,000. Tenant must maintain commercial general liability insurance of at least $2,000,000 per occurrence and $4,000,000 aggregate. The permitted use is the retail sale and repair of bicycles, cycling apparel, and related accessories, including customer test rides in areas designated by Landlord."
    }
  ],
  "jsonSchema": {
    "name": "retail_lease_abstract",
    "strict": true,
    "schema": {
      "type": "object",
      "properties": {
        "lease_date": {
          "type": "string",
          "description": "Lease execution date in ISO 8601 format."
        },
        "parties": {
          "type": "object",
          "properties": {
            "landlord": {
              "type": "string"
            },
            "tenant": {
              "type": "string"
            }
          },
          "required": [
            "landlord",
            "tenant"
          ],
          "additionalProperties": false
        },
        "premises": {
          "type": "object",
          "properties": {
            "suite": {
              "type": "string"
            },
            "street_address": {
              "type": "string"
            },
            "city": {
              "type": "string"
            },
            "state": {
              "type": "string"
            },
            "rentable_square_feet": {
              "type": "integer"
            },
            "measurement_qualified": {
              "type": "boolean",
              "description": "True when the stated area is approximate or otherwise qualified."
            }
          },
          "required": [
            "suite",
            "street_address",
            "city",
            "state",
            "rentable_square_feet",
            "measurement_qualified"
          ],
          "additionalProperties": false
        },
        "term": {
          "type": "object",
          "properties": {
            "commencement_trigger": {
              "type": "string"
            },
            "fixed_commencement_date": {
              "type": [
                "string",
                "null"
              ]
            },
            "term_years": {
              "type": "integer"
            },
            "expiration_basis": {
              "type": "string"
            },
            "free_rent_months": {
              "type": "integer"
            }
          },
          "required": [
            "commencement_trigger",
            "fixed_commencement_date",
            "term_years",
            "expiration_basis",
            "free_rent_months"
          ],
          "additionalProperties": false
        },
        "base_rent_schedule": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "start_lease_year": {
                "type": "integer"
              },
              "end_lease_year": {
                "type": "integer"
              },
              "annual_rent_usd": {
                "type": "number"
              },
              "monthly_rent_usd": {
                "type": "number"
              }
            },
            "required": [
              "start_lease_year",
              "end_lease_year",
              "annual_rent_usd",
              "monthly_rent_usd"
            ],
            "additionalProperties": false
          }
        },
        "additional_economics": {
          "type": "object",
          "properties": {
            "operating_expense_share_percent": {
              "type": "number"
            },
            "separately_metered_utilities": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "security_deposit_usd": {
              "type": [
                "number",
                "null"
              ]
            }
          },
          "required": [
            "operating_expense_share_percent",
            "separately_metered_utilities",
            "security_deposit_usd"
          ],
          "additionalProperties": false
        },
        "renewal_option": {
          "type": "object",
          "properties": {
            "option_count": {
              "type": "integer"
            },
            "option_term_years": {
              "type": "integer"
            },
            "rent_basis": {
              "type": "string"
            },
            "notice_earliest_months_before_expiration": {
              "type": "integer"
            },
            "notice_latest_months_before_expiration": {
              "type": "integer"
            }
          },
          "required": [
            "option_count",
            "option_term_years",
            "rent_basis",
            "notice_earliest_months_before_expiration",
            "notice_latest_months_before_expiration"
          ],
          "additionalProperties": false
        },
        "operational_terms": {
          "type": "object",
          "properties": {
            "permitted_use": {
              "type": "string"
            },
            "assignment_consent_standard": {
              "type": "string"
            },
            "landlord_repair_responsibilities": {
              "type": "array",
              "items": {
                "type": "string"
              }
            },
            "liability_insurance_per_occurrence_usd": {
              "type": "number"
            },
            "liability_insurance_aggregate_usd": {
              "type": "number"
            }
          },
          "required": [
            "permitted_use",
            "assignment_consent_standard",
            "landlord_repair_responsibilities",
            "liability_insurance_per_occurrence_usd",
            "liability_insurance_aggregate_usd"
          ],
          "additionalProperties": false
        },
        "review_flags": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "field": {
                "type": "string"
              },
              "severity": {
                "type": "string",
                "enum": [
                  "low",
                  "medium",
                  "high"
                ]
              },
              "issue": {
                "type": "string"
              },
              "source_values": {
                "type": "array",
                "items": {
                  "type": "string"
                }
              }
            },
            "required": [
              "field",
              "severity",
              "issue",
              "source_values"
            ],
            "additionalProperties": false
          }
        }
      },
      "required": [
        "lease_date",
        "parties",
        "premises",
        "term",
        "base_rent_schedule",
        "additional_economics",
        "renewal_option",
        "operational_terms",
        "review_flags"
      ],
      "additionalProperties": false
    },
    "type": "object",
    "properties": {
      "summary": {
        "type": "string"
      },
      "keyPoints": {
        "type": "array",
        "items": {
          "type": "string"
        }
      },
      "confidence": {
        "type": "number",
        "minimum": 0,
        "maximum": 1
      }
    },
    "required": [
      "summary",
      "keyPoints",
      "confidence"
    ],
    "additionalProperties": false
  }
}
Response
{
  "taskType": "textInference",
  "taskUUID": "74a38d59-5482-4518-a718-a348c3bc354d",
  "text": "{\n  \"lease_date\": \"2026-02-12\",\n  \"parties\": {\n    \"landlord\": \"Harbor Point Retail LLC\",\n    \"tenant\": \"Juniper Bicycle Works, Inc.\"\n  },\n  \"premises\": {\n    \"suite\": \"140\",\n    \"street_address\": \"88 Meridian Avenue\",\n    \"city\": \"Portland\",\n    \"state\": \"Maine\",\n    \"rentable_square_feet\": 2850,\n    \"measurement_qualified\": true\n  },\n  \"term\": {\n    \"commencement_trigger\": \"Later of June 1, 2026 or date Landlord delivers premises with base building work substantially complete\",\n    \"fixed_commencement_date\": null,\n    \"term_years\": 7,\n    \"expiration_basis\": \"Seven years after the Rent Commencement Date\",\n    \"free_rent_months\": 3\n  },\n  \"base_rent_schedule\": [\n    {\n      \"start_lease_year\": 1,\n      \"end_lease_year\": 2,\n      \"annual_rent_usd\": 102600.0,\n      \"monthly_rent_usd\": 8550.0\n    },\n    {\n      \"start_lease_year\": 3,\n      \"end_lease_year\": 4,\n      \"annual_rent_usd\": 107730.0,\n      \"monthly_rent_usd\": 8977.5\n    },\n    {\n      \"start_lease_year\": 5,\n      \"end_lease_year\": 6,\n      \"annual_rent_usd\": 113116.5,\n      \"monthly_rent_usd\": 9426.38\n    },\n    {\n      \"start_lease_year\": 7,\n      \"end_lease_year\": 7,\n      \"annual_rent_usd\": 118772.33,\n      \"monthly_rent_usd\": 9897.69\n    }\n  ],\n  \"additional_economics\": {\n    \"operating_expense_share_percent\": 4.75,\n    \"separately_metered_utilities\": [\n      \"electricity\",\n      \"water\"\n    ],\n    \"security_deposit_usd\": 25650.0\n  },\n  \"renewal_option\": {\n    \"option_count\": 1,\n    \"option_term_years\": 5,\n    \"rent_basis\": \"Fair market rent, but not less than the base rent payable during the final lease year\",\n    \"notice_earliest_months_before_expiration\": 15,\n    \"notice_latest_months_before_expiration\": 12\n  },\n  \"operational_terms\": {\n    \"permitted_use\": \"Retail sale and repair of bicycles, cycling apparel, and related accessories, including customer test rides in areas designated by Landlord\",\n    \"assignment_consent_standard\": \"Not to be unreasonably withheld, conditioned, or delayed\",\n    \"landlord_repair_responsibilities\": [\n      \"structural walls\",\n      \"roof membrane\",\n      \"foundation\"\n    ],\n    \"liability_insurance_per_occurrence_usd\": 2000000.0,\n    \"liability_insurance_aggregate_usd\": 4000000.0\n  },\n  \"review_flags\": [\n    {\n      \"field\": \"security_deposit_usd\",\n      \"severity\": \"medium\",\n      \"issue\": \"Discrepancy in security deposit amount between main lease text and Exhibit C\",\n      \"source_values\": [\n        \"25650.0\",\n        \"24000.0\"\n      ]\n    }\n  ]\n}",
  "cost": 0.001807,
  "finishReason": "stop",
  "thoughtSignature": "[REDACTED]"
}

tool-calling

Museum Exhibition Readiness Check$0.000053~1s
{
  "taskType": "textInference",
  "taskUUID": "7052b8c1-9a91-49c9-b689-687e7e84e6b7",
  "cost": 0.000053,
  "finishReason": "tools",
  "tools": [
    {
      "id": "call_117631",
      "name": "get_workspace_status",
      "thoughtSignature": "AY89a1894dJGJ4zVFUkncoE+JH9mVvUvN768wTcwzmFA2t9xZjFwAngJ/uoSTQ7cHkwW0Vii1ZtE/BrL9dGcfVVY2shHv+xGN1T8tQHYhcJhgEI="
    }
  ]
}
Finish reason: tools
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'google:gemini@3.1-flash-lite',
  messages: [
    {
      role: 'user',
      content: 'Check the current workspace status for exhibition project EXH-2026-014, “Threads of the Andes,” before our opening-readiness meeting. Retrieve the latest status of gallery installation, object mounting, lighting, interpretive graphics, lender approvals, security review, and staff training. Include overdue tasks, unresolved blockers, cross-team dependencies, owners, and milestone dates. Use the live workspace rather than relying on prior conversation context; after the status is returned, I’ll need a concise readiness brief for the museum director.'
    }
  ],
  tools: [
    {
      type: 'function',
      name: 'get_workspace_status',
      description: 'Returns the current operational status of the user\'s workspace.',
      schema: {}
    }
  ],
  toolChoice: {
    type: 'tool',
    name: 'get_workspace_status'
  }
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "google:gemini@3.1-flash-lite",
            "messages": [
                {
                    "role": "user",
                    "content": "Check the current workspace status for exhibition project EXH-2026-014, “Threads of the Andes,” before our opening-readiness meeting. Retrieve the latest status of gallery installation, object mounting, lighting, interpretive graphics, lender approvals, security review, and staff training. Include overdue tasks, unresolved blockers, cross-team dependencies, owners, and milestone dates. Use the live workspace rather than relying on prior conversation context; after the status is returned, I’ll need a concise readiness brief for the museum director."
                }
            ],
            "tools": [
                {
                    "type": "function",
                    "name": "get_workspace_status",
                    "description": "Returns the current operational status of the user's workspace.",
                    "schema": {}
                }
            ],
            "toolChoice": {
                "type": "tool",
                "name": "get_workspace_status"
            }
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "textInference",
      "taskUUID": "7052b8c1-9a91-49c9-b689-687e7e84e6b7",
      "model": "google:gemini@3.1-flash-lite",
      "messages": [
        {
          "role": "user",
          "content": "Check the current workspace status for exhibition project EXH-2026-014, “Threads of the Andes,” before our opening-readiness meeting. Retrieve the latest status of gallery installation, object mounting, lighting, interpretive graphics, lender approvals, security review, and staff training. Include overdue tasks, unresolved blockers, cross-team dependencies, owners, and milestone dates. Use the live workspace rather than relying on prior conversation context; after the status is returned, I’ll need a concise readiness brief for the museum director."
        }
      ],
      "tools": [
        {
          "type": "function",
          "name": "get_workspace_status",
          "description": "Returns the current operational status of the user's workspace.",
          "schema": {}
        }
      ],
      "toolChoice": {
        "type": "tool",
        "name": "get_workspace_status"
      }
    }
  ]'
runware run google:gemini@3.1-flash-lite \
  messages.0.role=user \
  messages.0.content="Check the current workspace status for exhibition project EXH-2026-014, “Threads of the Andes,” before our opening-readiness meeting. Retrieve the latest status of gallery installation, object mounting, lighting, interpretive graphics, lender approvals, security review, and staff training. Include overdue tasks, unresolved blockers, cross-team dependencies, owners, and milestone dates. Use the live workspace rather than relying on prior conversation context; after the status is returned, I’ll need a concise readiness brief for the museum director." \
  tools.0.type=function \
  tools.0.name=get_workspace_status \
  tools.0.description="Returns the current operational status of the user's workspace." \
  toolChoice.type=tool \
  toolChoice.name=get_workspace_status
{
  "taskType": "textInference",
  "taskUUID": "7052b8c1-9a91-49c9-b689-687e7e84e6b7",
  "model": "google:gemini@3.1-flash-lite",
  "messages": [
    {
      "role": "user",
      "content": "Check the current workspace status for exhibition project EXH-2026-014, “Threads of the Andes,” before our opening-readiness meeting. Retrieve the latest status of gallery installation, object mounting, lighting, interpretive graphics, lender approvals, security review, and staff training. Include overdue tasks, unresolved blockers, cross-team dependencies, owners, and milestone dates. Use the live workspace rather than relying on prior conversation context; after the status is returned, I’ll need a concise readiness brief for the museum director."
    }
  ],
  "tools": [
    {
      "type": "function",
      "name": "get_workspace_status",
      "description": "Returns the current operational status of the user's workspace.",
      "schema": {}
    }
  ],
  "toolChoice": {
    "type": "tool",
    "name": "get_workspace_status"
  }
}
Response
{
  "taskType": "textInference",
  "taskUUID": "7052b8c1-9a91-49c9-b689-687e7e84e6b7",
  "cost": 0.000053,
  "finishReason": "tools",
  "tools": [
    {
      "id": "call_117631",
      "name": "get_workspace_status",
      "thoughtSignature": "AY89a1894dJGJ4zVFUkncoE+JH9mVvUvN768wTcwzmFA2t9xZjFwAngJ/uoSTQ7cHkwW0Vii1ZtE/BrL9dGcfVVY2shHv+xGN1T8tQHYhcJhgEI="
    }
  ]
}

text-generation

Cold Chain Incident Briefing$0.000652~2s
**Executive Summary:** A shipment of 18 cartons of lot L24-771 experienced a temperature excursion peaking at 11.4°C, resulting in a rejected delivery and necessitating a quality hold.

**Confirmed Facts:** 
* The shipment exceeded the 8°C threshold for approximately 63 minutes (06:18–07:21), with a peak of 11.4°C. 
* The product is currently back at our distribution center at a verified temperature of 6.4°C.
* Packaging remains intact.

**Interpretation:** 
The excursion was likely caused by the courier leaving the van door open during a prior delivery, allowing ambient air infiltration. While current internal temperatures are within range, the product sustained a significant breach of the manufacturer’s 15-minute tolerance window.

**Recommendation:** 
**Quarantine** the shipment. The evidence is insufficient to confirm safety, as the manufacturer has not provided stability data for this duration of exposure.

**Immediate Actions:**
1. **Quality Assurance:** Obtain stability data from the manufacturer for the identified excursion profile. (Lead: QA Manager, Deadline: 11:00 today)
2. **Operations:** Prepare a replacement shipment from existing inventory to be dispatched immediately. (Lead: Logistics Supervisor, Deadline: 11:30 today)
3. **Inventory Management:** Initiate an emergency restock order to replenish regional safety levels. (Lead: Inventory Manager, Deadline: 13:00 today)

**Clinic Communication:**
"We apologize for the delay and are shipping a replacement order immediately to ensure your patients receive their treatment on schedule today."
Finish reason: stop
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'google:gemini@3.1-flash-lite',
  messages: [
    {
      role: 'user',
      content: 'You are supporting operations at a specialty pharmacy distributor. Turn the notes below into a concise incident briefing for the VP of Operations. Use plain natural language and no more than 250 words.\n\nYour briefing must include:\n- a one-sentence executive summary;\n- confirmed facts;\n- the most likely interpretation, clearly distinguished from confirmed facts;\n- a recommendation to release, quarantine, or discard the shipment, with brief reasoning;\n- three immediate actions, each with an owner and deadline;\n- one sentence suitable for sending to the clinic awaiting delivery.\n\nDo not invent regulatory limits or claim the medication is safe. If the available evidence is insufficient for release, say so directly.\n\nIncident notes:\n- Shipment: 18 cartons of refrigerated injectable medication, lot L24-771, intended storage range 2–8°C.\n- Data logger recorded 7.1°C at 06:00, 8.7°C at 06:18, a peak of 11.4°C at 06:42, 9.2°C at 07:03, and 7.8°C at 07:21.\n- Courier arrived at the clinic at 07:28. Clinic staff did not accept the shipment because the logger alarm was active.\n- Cartons were returned to the validated refrigerated van at 07:36 and reached the distribution center at 08:25.\n- Warehouse receiving measured 6.4°C between the center cartons at 08:31. Packaging was intact, with no moisture or visible damage.\n- Courier states the rear door was left open during another delivery from approximately 06:10 to 06:25. Route telemetry shows the refrigeration unit remained powered throughout.\n- The product quality agreement requires manufacturer review for any reading above 8°C lasting more than 15 minutes.\n- Manufacturer stability guidance is not available in the incident file. Quality Assurance has requested it but has not yet received a response.\n- The clinic needs replacement stock by 14:00 today for scheduled patients.\n- Available inventory can cover a replacement shipment, but doing so will reduce regional safety stock from four days to two days.'
    }
  ]
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "google:gemini@3.1-flash-lite",
            "messages": [
                {
                    "role": "user",
                    "content": "You are supporting operations at a specialty pharmacy distributor. Turn the notes below into a concise incident briefing for the VP of Operations. Use plain natural language and no more than 250 words.\n\nYour briefing must include:\n- a one-sentence executive summary;\n- confirmed facts;\n- the most likely interpretation, clearly distinguished from confirmed facts;\n- a recommendation to release, quarantine, or discard the shipment, with brief reasoning;\n- three immediate actions, each with an owner and deadline;\n- one sentence suitable for sending to the clinic awaiting delivery.\n\nDo not invent regulatory limits or claim the medication is safe. If the available evidence is insufficient for release, say so directly.\n\nIncident notes:\n- Shipment: 18 cartons of refrigerated injectable medication, lot L24-771, intended storage range 2–8°C.\n- Data logger recorded 7.1°C at 06:00, 8.7°C at 06:18, a peak of 11.4°C at 06:42, 9.2°C at 07:03, and 7.8°C at 07:21.\n- Courier arrived at the clinic at 07:28. Clinic staff did not accept the shipment because the logger alarm was active.\n- Cartons were returned to the validated refrigerated van at 07:36 and reached the distribution center at 08:25.\n- Warehouse receiving measured 6.4°C between the center cartons at 08:31. Packaging was intact, with no moisture or visible damage.\n- Courier states the rear door was left open during another delivery from approximately 06:10 to 06:25. Route telemetry shows the refrigeration unit remained powered throughout.\n- The product quality agreement requires manufacturer review for any reading above 8°C lasting more than 15 minutes.\n- Manufacturer stability guidance is not available in the incident file. Quality Assurance has requested it but has not yet received a response.\n- The clinic needs replacement stock by 14:00 today for scheduled patients.\n- Available inventory can cover a replacement shipment, but doing so will reduce regional safety stock from four days to two days."
                }
            ]
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "textInference",
      "taskUUID": "6840c034-c54a-43bc-94dc-00895814d6a6",
      "model": "google:gemini@3.1-flash-lite",
      "messages": [
        {
          "role": "user",
          "content": "You are supporting operations at a specialty pharmacy distributor. Turn the notes below into a concise incident briefing for the VP of Operations. Use plain natural language and no more than 250 words.\n\nYour briefing must include:\n- a one-sentence executive summary;\n- confirmed facts;\n- the most likely interpretation, clearly distinguished from confirmed facts;\n- a recommendation to release, quarantine, or discard the shipment, with brief reasoning;\n- three immediate actions, each with an owner and deadline;\n- one sentence suitable for sending to the clinic awaiting delivery.\n\nDo not invent regulatory limits or claim the medication is safe. If the available evidence is insufficient for release, say so directly.\n\nIncident notes:\n- Shipment: 18 cartons of refrigerated injectable medication, lot L24-771, intended storage range 2–8°C.\n- Data logger recorded 7.1°C at 06:00, 8.7°C at 06:18, a peak of 11.4°C at 06:42, 9.2°C at 07:03, and 7.8°C at 07:21.\n- Courier arrived at the clinic at 07:28. Clinic staff did not accept the shipment because the logger alarm was active.\n- Cartons were returned to the validated refrigerated van at 07:36 and reached the distribution center at 08:25.\n- Warehouse receiving measured 6.4°C between the center cartons at 08:31. Packaging was intact, with no moisture or visible damage.\n- Courier states the rear door was left open during another delivery from approximately 06:10 to 06:25. Route telemetry shows the refrigeration unit remained powered throughout.\n- The product quality agreement requires manufacturer review for any reading above 8°C lasting more than 15 minutes.\n- Manufacturer stability guidance is not available in the incident file. Quality Assurance has requested it but has not yet received a response.\n- The clinic needs replacement stock by 14:00 today for scheduled patients.\n- Available inventory can cover a replacement shipment, but doing so will reduce regional safety stock from four days to two days."
        }
      ]
    }
  ]'
runware run google:gemini@3.1-flash-lite \
  messages.0.role=user \
  messages.0.content="You are supporting operations at a specialty pharmacy distributor. Turn the notes below into a concise incident briefing for the VP of Operations. Use plain natural language and no more than 250 words.

Your briefing must include:
- a one-sentence executive summary;
- confirmed facts;
- the most likely interpretation, clearly distinguished from confirmed facts;
- a recommendation to release, quarantine, or discard the shipment, with brief reasoning;
- three immediate actions, each with an owner and deadline;
- one sentence suitable for sending to the clinic awaiting delivery.

Do not invent regulatory limits or claim the medication is safe. If the available evidence is insufficient for release, say so directly.

Incident notes:
- Shipment: 18 cartons of refrigerated injectable medication, lot L24-771, intended storage range 2–8°C.
- Data logger recorded 7.1°C at 06:00, 8.7°C at 06:18, a peak of 11.4°C at 06:42, 9.2°C at 07:03, and 7.8°C at 07:21.
- Courier arrived at the clinic at 07:28. Clinic staff did not accept the shipment because the logger alarm was active.
- Cartons were returned to the validated refrigerated van at 07:36 and reached the distribution center at 08:25.
- Warehouse receiving measured 6.4°C between the center cartons at 08:31. Packaging was intact, with no moisture or visible damage.
- Courier states the rear door was left open during another delivery from approximately 06:10 to 06:25. Route telemetry shows the refrigeration unit remained powered throughout.
- The product quality agreement requires manufacturer review for any reading above 8°C lasting more than 15 minutes.
- Manufacturer stability guidance is not available in the incident file. Quality Assurance has requested it but has not yet received a response.
- The clinic needs replacement stock by 14:00 today for scheduled patients.
- Available inventory can cover a replacement shipment, but doing so will reduce regional safety stock from four days to two days."
{
  "taskType": "textInference",
  "taskUUID": "6840c034-c54a-43bc-94dc-00895814d6a6",
  "model": "google:gemini@3.1-flash-lite",
  "messages": [
    {
      "role": "user",
      "content": "You are supporting operations at a specialty pharmacy distributor. Turn the notes below into a concise incident briefing for the VP of Operations. Use plain natural language and no more than 250 words.\n\nYour briefing must include:\n- a one-sentence executive summary;\n- confirmed facts;\n- the most likely interpretation, clearly distinguished from confirmed facts;\n- a recommendation to release, quarantine, or discard the shipment, with brief reasoning;\n- three immediate actions, each with an owner and deadline;\n- one sentence suitable for sending to the clinic awaiting delivery.\n\nDo not invent regulatory limits or claim the medication is safe. If the available evidence is insufficient for release, say so directly.\n\nIncident notes:\n- Shipment: 18 cartons of refrigerated injectable medication, lot L24-771, intended storage range 2–8°C.\n- Data logger recorded 7.1°C at 06:00, 8.7°C at 06:18, a peak of 11.4°C at 06:42, 9.2°C at 07:03, and 7.8°C at 07:21.\n- Courier arrived at the clinic at 07:28. Clinic staff did not accept the shipment because the logger alarm was active.\n- Cartons were returned to the validated refrigerated van at 07:36 and reached the distribution center at 08:25.\n- Warehouse receiving measured 6.4°C between the center cartons at 08:31. Packaging was intact, with no moisture or visible damage.\n- Courier states the rear door was left open during another delivery from approximately 06:10 to 06:25. Route telemetry shows the refrigeration unit remained powered throughout.\n- The product quality agreement requires manufacturer review for any reading above 8°C lasting more than 15 minutes.\n- Manufacturer stability guidance is not available in the incident file. Quality Assurance has requested it but has not yet received a response.\n- The clinic needs replacement stock by 14:00 today for scheduled patients.\n- Available inventory can cover a replacement shipment, but doing so will reduce regional safety stock from four days to two days."
    }
  ]
}
Response
{
  "taskType": "textInference",
  "taskUUID": "6840c034-c54a-43bc-94dc-00895814d6a6",
  "text": "**Executive Summary:** A shipment of 18 cartons of lot L24-771 experienced a temperature excursion peaking at 11.4°C, resulting in a rejected delivery and necessitating a quality hold.\n\n**Confirmed Facts:** \n* The shipment exceeded the 8°C threshold for approximately 63 minutes (06:18–07:21), with a peak of 11.4°C. \n* The product is currently back at our distribution center at a verified temperature of 6.4°C.\n* Packaging remains intact.\n\n**Interpretation:** \nThe excursion was likely caused by the courier leaving the van door open during a prior delivery, allowing ambient air infiltration. While current internal temperatures are within range, the product sustained a significant breach of the manufacturer’s 15-minute tolerance window.\n\n**Recommendation:** \n**Quarantine** the shipment. The evidence is insufficient to confirm safety, as the manufacturer has not provided stability data for this duration of exposure.\n\n**Immediate Actions:**\n1. **Quality Assurance:** Obtain stability data from the manufacturer for the identified excursion profile. (Lead: QA Manager, Deadline: 11:00 today)\n2. **Operations:** Prepare a replacement shipment from existing inventory to be dispatched immediately. (Lead: Logistics Supervisor, Deadline: 11:30 today)\n3. **Inventory Management:** Initiate an emergency restock order to replenish regional safety levels. (Lead: Inventory Manager, Deadline: 13:00 today)\n\n**Clinic Communication:**\n\"We apologize for the delay and are shipping a replacement order immediately to ensure your patients receive their treatment on schedule today.\"",
  "cost": 0.000652,
  "finishReason": "stop",
  "thoughtSignature": "[REDACTED]"
}

reference-to-text

Hotel Suite Conformance Report$0.00183~11s
### Conformance Report: Prototype Suite vs. Delivered Unit

#### 1. Executive Verdict: Conditional Pass
The delivered unit captures the intended spatial layout and furniture plan, but fails to execute on the critical "warm, high-end" design language defined in the prototype. Significant material omissions—specifically the signature wood-slat headboard wall and the incorrect accent chair color—must be addressed to achieve the brand’s visual identity.

---

#### 2. Prioritized Findings
| Priority | Area | Intended Standard | Observed Deviation | Impact | Recommended Correction | Video Evidence | Confidence |
| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |
| **P1** | Wall Treatment | Floor-to-ceiling wood slat feature wall | Painted drywall | Loss of luxury brand identity | Install specified wood slat paneling | 0:02 - 0:04 | High |
| **P2** | FF&E (Accent) | Terra-cotta/orange upholstered chair | Blue upholstered chair | Color scheme dissonance | Replace with correct textile/finish | 0:03 - 0:04 | High |
| **P2** | FF&E (Utility) | Integrated mini-fridge/table unit | Stand-alone white mini-fridge cabinet | Poor aesthetic integration | Install specified integrated casegood | 0:04 - 0:05 | High |
| **P3** | Detailing | Seamless baseboards/transitions | Scuffing and visible caulk gaps | Workmanship/finish quality | Touch up/caulk repair | 0:04 - 0:05 | High |
| **P3** | Decor | Dual framed art pieces | Single small frame | Wall balance/composition | Install set of two as specified | 0:04 | High |

---

#### 3. Cross-Cutting Analysis
The combined effect of these deviations creates a "generic budget" feel that contradicts the "premium boutique" design intent of the prototype. The most striking failure is the lack of the wood-slat feature wall; without it, the lighting design (which is intended to wash the slats) now looks stark against plain white drywall. Furthermore, the selection of a blue accent chair and a white-box mini-fridge appliance introduces "cool" tones that clash with the warm wood tones and beige textiles, undermining the color palette cohesion. The room currently reads as a functional hotel room rather than the curated, atmospheric suite defined in the prototype.

---

#### 4. Pre-Opening Action Plan

**Must Fix Before Handover:**
*   **Casegoods:** Replace the white mini-fridge cabinet with the intended integrated furniture piece to ensure alignment with the room's millwork design.
*   **Wall Art:** Install the correct dual-framed artwork set to anchor the empty space above the utility cabinet.

**Fix Within 30 Days:**
*   **Feature Wall:** Coordinate installation of the wood-slat paneling behind the bed. 
*   **Finishes:** Address all visible wall base damage and caulk imperfections identified at the cabinet transition points.

**Monitor or Verify On Site:**
*   **Accent Furniture:** Audit procurement logs to confirm if the blue chairs are temporary place-holders or a procurement error.
*   **Lighting:** Verify the light temperature (K) of the wall sconces; they appear cooler in the video than the warm, ambient lighting shown in the prototype.

---

#### 5. Verification Checklist (Inspector's Return Visit)
- [ ] **Feature Wall:** Are the vertical wood slats installed, sealed, and properly backlit?
- [ ] **Casegoods:** Is the mini-fridge fully integrated within the casegood console?
- [ ] **Color Palette:** Has the blue accent chair been replaced with the approved terra-cotta/orange model?
- [ ] **Workmanship:** Are the wall-to-baseboard transitions free of gaps and scuffs?
- [ ] **Symmetry:** Is the artwork centered and balanced according to the prototype layout?
Finish reason: stop
Try in Playground
import { createClient } from '@runware/sdk'

const client = await createClient({ apiKey: process.env.RUNWARE_API_KEY })
await client.connect()

const [result] = await client.run({
  model: 'google:gemini@3.1-flash-lite',
  inputs: {
    images: [
      'https://assets.runware.ai/assets/inputs/00bc357d-ca99-4d96-948e-776db06e4231.jpg'
    ],
    videos: [
      'https://assets.runware.ai/assets/inputs/b904e89d-7b6f-4951-80bf-f544e7149e68.mp4'
    ]
  },
  messages: [
    {
      role: 'user',
      content: 'Act as the hotel operator’s senior design and pre-opening QA inspector. The image is the approved prototype suite and defines the intended design standard; the video is a walkthrough of the delivered room. Analyze them together and produce a decision-ready conformance report, not separate descriptions of each asset.\n\nInfer the prototype’s key design rules—including layout, symmetry, finish quality, color coordination, furniture placement, lighting, and guest circulation—then compare those rules against the installed suite visible throughout the video. Distinguish genuine deviations from uncertainty caused by camera angle, lighting, occlusion, or portions not shown.\n\nReturn a concise professional report in Markdown with:\n1. Executive verdict: Pass, Conditional Pass, or Fail, with a two-sentence rationale.\n2. A prioritized findings table with columns: Priority, Area, Intended Standard, Observed Deviation, Operational or Guest Impact, Recommended Correction, Video Evidence, and Confidence. Use approximate video timestamps or time ranges for evidence.\n3. Cross-cutting analysis explaining how the combined deviations affect the room’s overall design coherence and guest experience; synthesize patterns rather than repeating table entries.\n4. A pre-opening action plan divided into Must Fix Before Handover, Fix Within 30 Days, and Monitor or Verify On Site.\n5. A short verification checklist for the inspector’s return visit.\n\nUse P1 for safety, accessibility, major functional, or brand-critical issues; P2 for conspicuous design or workmanship failures; and P3 for minor cosmetic items. Do not claim exact dimensions, materials, or code violations unless visually supportable. Mark anything that requires physical measurement or close inspection as Verify On Site.'
    }
  ]
})
import asyncio
import os

from runware import Runware


async def main():
    async with Runware(api_key=os.environ["RUNWARE_API_KEY"]) as client:
        results = await client.run({
            "model": "google:gemini@3.1-flash-lite",
            "inputs": {
                "images": [
                    "https://assets.runware.ai/assets/inputs/00bc357d-ca99-4d96-948e-776db06e4231.jpg"
                ],
                "videos": [
                    "https://assets.runware.ai/assets/inputs/b904e89d-7b6f-4951-80bf-f544e7149e68.mp4"
                ]
            },
            "messages": [
                {
                    "role": "user",
                    "content": "Act as the hotel operator’s senior design and pre-opening QA inspector. The image is the approved prototype suite and defines the intended design standard; the video is a walkthrough of the delivered room. Analyze them together and produce a decision-ready conformance report, not separate descriptions of each asset.\n\nInfer the prototype’s key design rules—including layout, symmetry, finish quality, color coordination, furniture placement, lighting, and guest circulation—then compare those rules against the installed suite visible throughout the video. Distinguish genuine deviations from uncertainty caused by camera angle, lighting, occlusion, or portions not shown.\n\nReturn a concise professional report in Markdown with:\n1. Executive verdict: Pass, Conditional Pass, or Fail, with a two-sentence rationale.\n2. A prioritized findings table with columns: Priority, Area, Intended Standard, Observed Deviation, Operational or Guest Impact, Recommended Correction, Video Evidence, and Confidence. Use approximate video timestamps or time ranges for evidence.\n3. Cross-cutting analysis explaining how the combined deviations affect the room’s overall design coherence and guest experience; synthesize patterns rather than repeating table entries.\n4. A pre-opening action plan divided into Must Fix Before Handover, Fix Within 30 Days, and Monitor or Verify On Site.\n5. A short verification checklist for the inspector’s return visit.\n\nUse P1 for safety, accessibility, major functional, or brand-critical issues; P2 for conspicuous design or workmanship failures; and P3 for minor cosmetic items. Do not claim exact dimensions, materials, or code violations unless visually supportable. Mark anything that requires physical measurement or close inspection as Verify On Site."
                }
            ]
        })


asyncio.run(main())
curl https://api.runware.ai/v1 \
  -H "Authorization: Bearer $RUNWARE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '[
    {
      "taskType": "textInference",
      "taskUUID": "c64769af-3de3-474c-a0c5-1ded67f73990",
      "model": "google:gemini@3.1-flash-lite",
      "inputs": {
        "images": [
          "https://assets.runware.ai/assets/inputs/00bc357d-ca99-4d96-948e-776db06e4231.jpg"
        ],
        "videos": [
          "https://assets.runware.ai/assets/inputs/b904e89d-7b6f-4951-80bf-f544e7149e68.mp4"
        ]
      },
      "messages": [
        {
          "role": "user",
          "content": "Act as the hotel operator’s senior design and pre-opening QA inspector. The image is the approved prototype suite and defines the intended design standard; the video is a walkthrough of the delivered room. Analyze them together and produce a decision-ready conformance report, not separate descriptions of each asset.\n\nInfer the prototype’s key design rules—including layout, symmetry, finish quality, color coordination, furniture placement, lighting, and guest circulation—then compare those rules against the installed suite visible throughout the video. Distinguish genuine deviations from uncertainty caused by camera angle, lighting, occlusion, or portions not shown.\n\nReturn a concise professional report in Markdown with:\n1. Executive verdict: Pass, Conditional Pass, or Fail, with a two-sentence rationale.\n2. A prioritized findings table with columns: Priority, Area, Intended Standard, Observed Deviation, Operational or Guest Impact, Recommended Correction, Video Evidence, and Confidence. Use approximate video timestamps or time ranges for evidence.\n3. Cross-cutting analysis explaining how the combined deviations affect the room’s overall design coherence and guest experience; synthesize patterns rather than repeating table entries.\n4. A pre-opening action plan divided into Must Fix Before Handover, Fix Within 30 Days, and Monitor or Verify On Site.\n5. A short verification checklist for the inspector’s return visit.\n\nUse P1 for safety, accessibility, major functional, or brand-critical issues; P2 for conspicuous design or workmanship failures; and P3 for minor cosmetic items. Do not claim exact dimensions, materials, or code violations unless visually supportable. Mark anything that requires physical measurement or close inspection as Verify On Site."
        }
      ]
    }
  ]'
runware run google:gemini@3.1-flash-lite \
  inputs.images.0=https://assets.runware.ai/assets/inputs/00bc357d-ca99-4d96-948e-776db06e4231.jpg \
  inputs.videos.0=https://assets.runware.ai/assets/inputs/b904e89d-7b6f-4951-80bf-f544e7149e68.mp4 \
  messages.0.role=user \
  messages.0.content="Act as the hotel operator’s senior design and pre-opening QA inspector. The image is the approved prototype suite and defines the intended design standard; the video is a walkthrough of the delivered room. Analyze them together and produce a decision-ready conformance report, not separate descriptions of each asset.

Infer the prototype’s key design rules—including layout, symmetry, finish quality, color coordination, furniture placement, lighting, and guest circulation—then compare those rules against the installed suite visible throughout the video. Distinguish genuine deviations from uncertainty caused by camera angle, lighting, occlusion, or portions not shown.

Return a concise professional report in Markdown with:
1. Executive verdict: Pass, Conditional Pass, or Fail, with a two-sentence rationale.
2. A prioritized findings table with columns: Priority, Area, Intended Standard, Observed Deviation, Operational or Guest Impact, Recommended Correction, Video Evidence, and Confidence. Use approximate video timestamps or time ranges for evidence.
3. Cross-cutting analysis explaining how the combined deviations affect the room’s overall design coherence and guest experience; synthesize patterns rather than repeating table entries.
4. A pre-opening action plan divided into Must Fix Before Handover, Fix Within 30 Days, and Monitor or Verify On Site.
5. A short verification checklist for the inspector’s return visit.

Use P1 for safety, accessibility, major functional, or brand-critical issues; P2 for conspicuous design or workmanship failures; and P3 for minor cosmetic items. Do not claim exact dimensions, materials, or code violations unless visually supportable. Mark anything that requires physical measurement or close inspection as Verify On Site."
{
  "taskType": "textInference",
  "taskUUID": "c64769af-3de3-474c-a0c5-1ded67f73990",
  "model": "google:gemini@3.1-flash-lite",
  "inputs": {
    "images": [
      "https://assets.runware.ai/assets/inputs/00bc357d-ca99-4d96-948e-776db06e4231.jpg"
    ],
    "videos": [
      "https://assets.runware.ai/assets/inputs/b904e89d-7b6f-4951-80bf-f544e7149e68.mp4"
    ]
  },
  "messages": [
    {
      "role": "user",
      "content": "Act as the hotel operator’s senior design and pre-opening QA inspector. The image is the approved prototype suite and defines the intended design standard; the video is a walkthrough of the delivered room. Analyze them together and produce a decision-ready conformance report, not separate descriptions of each asset.\n\nInfer the prototype’s key design rules—including layout, symmetry, finish quality, color coordination, furniture placement, lighting, and guest circulation—then compare those rules against the installed suite visible throughout the video. Distinguish genuine deviations from uncertainty caused by camera angle, lighting, occlusion, or portions not shown.\n\nReturn a concise professional report in Markdown with:\n1. Executive verdict: Pass, Conditional Pass, or Fail, with a two-sentence rationale.\n2. A prioritized findings table with columns: Priority, Area, Intended Standard, Observed Deviation, Operational or Guest Impact, Recommended Correction, Video Evidence, and Confidence. Use approximate video timestamps or time ranges for evidence.\n3. Cross-cutting analysis explaining how the combined deviations affect the room’s overall design coherence and guest experience; synthesize patterns rather than repeating table entries.\n4. A pre-opening action plan divided into Must Fix Before Handover, Fix Within 30 Days, and Monitor or Verify On Site.\n5. A short verification checklist for the inspector’s return visit.\n\nUse P1 for safety, accessibility, major functional, or brand-critical issues; P2 for conspicuous design or workmanship failures; and P3 for minor cosmetic items. Do not claim exact dimensions, materials, or code violations unless visually supportable. Mark anything that requires physical measurement or close inspection as Verify On Site."
    }
  ]
}
Response
{
  "taskType": "textInference",
  "taskUUID": "c64769af-3de3-474c-a0c5-1ded67f73990",
  "text": "### Conformance Report: Prototype Suite vs. Delivered Unit\n\n#### 1. Executive Verdict: Conditional Pass\nThe delivered unit captures the intended spatial layout and furniture plan, but fails to execute on the critical \"warm, high-end\" design language defined in the prototype. Significant material omissions—specifically the signature wood-slat headboard wall and the incorrect accent chair color—must be addressed to achieve the brand’s visual identity.\n\n---\n\n#### 2. Prioritized Findings\n| Priority | Area | Intended Standard | Observed Deviation | Impact | Recommended Correction | Video Evidence | Confidence |\n| :--- | :--- | :--- | :--- | :--- | :--- | :--- | :--- |\n| **P1** | Wall Treatment | Floor-to-ceiling wood slat feature wall | Painted drywall | Loss of luxury brand identity | Install specified wood slat paneling | 0:02 - 0:04 | High |\n| **P2** | FF&E (Accent) | Terra-cotta/orange upholstered chair | Blue upholstered chair | Color scheme dissonance | Replace with correct textile/finish | 0:03 - 0:04 | High |\n| **P2** | FF&E (Utility) | Integrated mini-fridge/table unit | Stand-alone white mini-fridge cabinet | Poor aesthetic integration | Install specified integrated casegood | 0:04 - 0:05 | High |\n| **P3** | Detailing | Seamless baseboards/transitions | Scuffing and visible caulk gaps | Workmanship/finish quality | Touch up/caulk repair | 0:04 - 0:05 | High |\n| **P3** | Decor | Dual framed art pieces | Single small frame | Wall balance/composition | Install set of two as specified | 0:04 | High |\n\n---\n\n#### 3. Cross-Cutting Analysis\nThe combined effect of these deviations creates a \"generic budget\" feel that contradicts the \"premium boutique\" design intent of the prototype. The most striking failure is the lack of the wood-slat feature wall; without it, the lighting design (which is intended to wash the slats) now looks stark against plain white drywall. Furthermore, the selection of a blue accent chair and a white-box mini-fridge appliance introduces \"cool\" tones that clash with the warm wood tones and beige textiles, undermining the color palette cohesion. The room currently reads as a functional hotel room rather than the curated, atmospheric suite defined in the prototype.\n\n---\n\n#### 4. Pre-Opening Action Plan\n\n**Must Fix Before Handover:**\n*   **Casegoods:** Replace the white mini-fridge cabinet with the intended integrated furniture piece to ensure alignment with the room's millwork design.\n*   **Wall Art:** Install the correct dual-framed artwork set to anchor the empty space above the utility cabinet.\n\n**Fix Within 30 Days:**\n*   **Feature Wall:** Coordinate installation of the wood-slat paneling behind the bed. \n*   **Finishes:** Address all visible wall base damage and caulk imperfections identified at the cabinet transition points.\n\n**Monitor or Verify On Site:**\n*   **Accent Furniture:** Audit procurement logs to confirm if the blue chairs are temporary place-holders or a procurement error.\n*   **Lighting:** Verify the light temperature (K) of the wall sconces; they appear cooler in the video than the warm, ambient lighting shown in the prototype.\n\n---\n\n#### 5. Verification Checklist (Inspector's Return Visit)\n- [ ] **Feature Wall:** Are the vertical wood slats installed, sealed, and properly backlit?\n- [ ] **Casegoods:** Is the mini-fridge fully integrated within the casegood console?\n- [ ] **Color Palette:** Has the blue accent chair been replaced with the approved terra-cotta/orange model?\n- [ ] **Workmanship:** Are the wall-to-baseboard transitions free of gaps and scuffs?\n- [ ] **Symmetry:** Is the artwork centered and balanced according to the prototype layout?",
  "cost": 0.001833,
  "finishReason": "stop",
  "thoughtSignature": "[REDACTED]"
}