aiendpoint.dev
ServicesDeepInfra

DeepInfra

community

Serverless AI inference platform for open-source models with pay-per-token pricing.

Visit site ↗

This is a community-generated spec

This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.

https://deepinfra.combeareraideveloperconfidence: 87/1000 discoveries1 contributors
POSThttps://api.deepinfra.com/v1/openai/chat/completions

Chat completion

Parameters

modelmodel ID (stringrequired
messagesmessages (object[]required
max_tokensmax tokens (integeroptional
temperaturetemperature (numberoptional

Returns

choices[] with message.content, finish_reason; usage
GEThttps://api.deepinfra.com/v1/openai/models

List models

Returns

data[] with id, owned_by, task_type, pricing
POSThttps://api.deepinfra.com/v1/inference/{model}

Generate image

Parameters

modelmodel ID (stringrequired
widthwidth (integeroptional
heightheight (integeroptional
prompttext prompt (stringrequired

Returns

images[] with url, seed