List models (OpenAI models.list)
GET https://api.remodeled.ai/public/openai/v1/models
The tools images.edit can use as model.
Example
from openai import OpenAI
client = OpenAI(api_key="rmk_...", base_url="https://api.remodeled.ai/public/openai/v1")print([m.id for m in client.models.list()])curl https://api.remodeled.ai/public/openai/v1/models \ -H "Authorization: Bearer $REMODELED_API_KEY"Try it
Try it with your key
Responses
200 The tools
Returns OpenAIModelList.
{ "object": "list", "data": [ { "id": "remodel", "object": "model", "created": 1763164800, "owned_by": "remodeled", "description": "Restyle a room, keeping walls, windows and the camera" } ]}401 invalid_api_key: missing, wrong or revoked key
An error.
{ "error": { "code": "invalid_api_key", "message": "Missing or invalid API key. Send it as Authorization: Bearer rmk_..." }}429 rate_limited (wait Retry-After seconds) or too_many_active
An error.
{ "error": { "code": "key_limit_reached", "message": "This key may spend 500 credits in 30 days and has used 498. Raise its limit in Account, API keys.", "details": { "limit": 500, "used": 498, "cost": 5 } }}