# AICraft Injection Process API

> A paid HTTP API for injection molding: first-shot process recommendation and defect-driven tuning, built on a self-developed rule engine. Subscribe at the site to get an API key.

This service helps injection molding engineers and AI agents set initial machine parameters before a trial, and correct parameters when defects appear. It exposes structured, machine-readable endpoints with explainable reasoning.

## Endpoints

- [First-shot recommendation](https://aicraft4injection.com/v1/first-shot): POST. Give polymer abbreviation, average wall thickness, and screw diameter. Returns recommended process parameters with a short summary. Costs 1 call.
- [Defect tuning](https://aicraft4injection.com/v1/optimize): POST. Give defect code and current process parameters. Returns adjusted parameters. Costs 1 call.
- [Field & defect catalog](https://aicraft4injection.com/v1/schema): GET, free. Field groups, units, defect codes, error codes.
- [Short OpenAPI spec](https://aicraft4injection.com/openapi-tools.json): the two paid tools for Coze / GPT Actions / Dify.
- [Full OpenAPI spec](https://aicraft4injection.com/openapi.json): all endpoints.

## Machine-readable discovery

- [MCP server card](https://aicraft4injection.com/.well-known/mcp.json): Streamable HTTP MCP endpoint at /mcp, tools: schema, first_shot, optimize.

## Notes

- Units default to mm, mm/s, MPa, rpm, Celsius, seconds.
- Authentication: `Authorization: Bearer <api key>`. Subscription required; free schema endpoint needs no key.
- Pricing: USD 19/month for 1000 calls. Managed by Creem as merchant of record.
