API operations
Compare OpenRouter and ModelPort integrations
Keep the text client configurable and test media jobs independently.
Keep the model ID in configuration
Use your existing text client with the correct base URL and a callable ID. Test streaming, tool schemas, and response usage before switching applications.
Verify media separately
For an image, video, or audio job, verify quotes, input uploads, polling, and the final billing record. Keep a stable idempotency key when retrying.