{ "opencollection": "1.0.0", "info": { "name": "Segmind Account Inference API", "version": "1" }, "request": { "auth": { "type": "apikey", "key": "x-api-key", "value": "{{x-api-key}}", "placement": "header" } }, "items": [ { "info": { "name": "Inference", "type": "folder" }, "items": [ { "info": { "name": "Synchronous model inference", "type": "http" }, "http": { "method": "POST", "url": "https://api.segmind.com/v1/:model_name", "params": [ { "name": "model_name", "value": "", "type": "path", "description": "Model identifier, e.g. fast-flux-schnell" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Submit a request to a model and wait for the response. Suitable for models that complete within roughly 60 seconds." }, { "info": { "name": "Asynchronous model inference", "type": "http" }, "http": { "method": "POST", "url": "https://api.segmind.com/v2/:model_name", "params": [ { "name": "model_name", "value": "", "type": "path" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Submit an async request; returns a request_id." }, { "info": { "name": "Get lightweight request status", "type": "http" }, "http": { "method": "GET", "url": "https://api.segmind.com/v2/requests/:request_id/status", "params": [ { "name": "request_id", "value": "", "type": "path" } ] }, "docs": "Get lightweight request status" }, { "info": { "name": "Get full async result", "type": "http" }, "http": { "method": "GET", "url": "https://api.segmind.com/v2/requests/:request_id", "params": [ { "name": "request_id", "value": "", "type": "path" } ] }, "docs": "Get full async result" } ] } ], "bundled": true }