Admin Management

Create Image Models Pricing

Create a new image model in the database

post/v1/admin/create-image-models-pricing

Request

  • Base URL: https://api.oneinfer.ai (the document declares no server; this is the origin it was published from)
  • URL: https://api.oneinfer.ai/v1/admin/create-image-models-pricing
  • Auth: HTTP bearer

Query parameters

model_idstring required

Request body

provider_name'oneinfer' | 'openai' | 'thinkingmachines' | 'zai' | 'deepseek' | 'minimax' | 'sarvam' | 'anthropic' | 'groq' | 'novita' | 'openrouter' | 'meta' | 'akashml' | 'bytedance' | 'together_ai' | 'grok' | 'google' | 'cerebras' | 'lightricks' | 'coreweave' | 'elevenlabs' | 'blackforestlabs' | 'fal' | 'mvsep' required
model_namestring required
qualitystring required
sizestring required
resolutionstring nullable
supported_aspect_ratiosstring[] nullable
supported_resolutionsstring[] nullable
supported_sizesstring[] nullable
supported_qualitiesstring[] nullable
supported_backgroundsstring[] nullable
price_per_imagenumber required
price_per_input_imagenumber
price_per_million_input_tokensnumber nullable
price_per_million_cache_input_tokensnumber nullable
price_per_million_image_input_tokensnumber nullable
price_per_million_cache_image_input_tokensnumber nullable
price_per_million_output_tokensnumber nullable
price_per_million_image_output_tokensnumber nullable
logostring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.