API operations

Use one API key for image and video jobs

Match image specifications and track asynchronous video jobs from quote to charge.

Quote images with the intended settings

Confirm size, quality, output count, and reference roles for the exact model ID. Save the quote before submitting.

Track the video by job ID

Quote the desired duration and resolution, submit with an idempotency key, then poll or receive a signed callback. Use the ID for result and billing lookup.

Check provider-specific features

If you need a feature outside the shared catalog, verify it against the exact provider contract and keep that integration separate.

Example request

curl "https://api.apimodel.store/v1/quotes" \
  -H "Authorization: Bearer $MODELPORT_API_KEY" \
  -H "Content-Type: application/json" \
  --data '{"model":"nano-banana-2-1","prompt":"A cream ceramic cup on a windowsill, soft morning light.","parameters":{"resolution":"1K","aspect_ratio":"1:1","n":1}}'

Models in this guide

Related guides and tools

Sources