Generate an image (not supported)
POST https://api.remodeled.ai/public/openai/v1/images/generations
Remodeled starts from a photo: answers 400 image_required. Use images.edit.
Example
curl -X POST https://api.remodeled.ai/public/openai/v1/images/generations \ -H "Authorization: Bearer $REMODELED_API_KEY" \ -H "Content-Type: application/json" \ -d '{"prompt": "a living room"}'Try it
Try it with your key
Responses
400 image_required
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 } }}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 } }}