Create or Edit Model
AI Model Creation API
This API allows you to create, train, and manage the foundational AI models used for generating influencers and content.
Base URL
https://api.realm.ai/v1/models
Create Base Model
Initiates the creation of a new base AI model from predefined templates or foundational models.
Method:
POST
Endpoint:
/
Authentication: API Key
Request Body
Response 201 Created
Upload Training Data
Uploads image data to train or fine-tune a specific model. This is an asynchronous operation.
Method:
POST
Endpoint:
/{modelId}/train
Authentication: API Key
Content-Type:
multipart/form-data
Request Body Parameters
images
(file array): Multiple image files (JPEG, PNG) to use for training.trainingParams
(JSON string, optional): Advanced training parameters (e.g., learning rate, steps).
Response 202 Accepted
Get Model Details
Retrieves details for a specific AI model, including its current status.
Method:
GET
Endpoint:
/{modelId}
Authentication: API Key
Response 200 OK
List User Models
Retrieves a list of AI models owned by the authenticated user.
Method:
GET
Endpoint:
/
Authentication: API Key
Query Parameters:
limit
(int, optional, default: 20): Number of results per page.offset
(int, optional, default: 0): Pagination offset.status
(string, optional): Filter by model status (e.g.,active
).
Response 200 OK
Delete Model
Deletes a specific AI model. This action is irreversible.
Method:
DELETE
Endpoint:
/{modelId}
Authentication: API Key + Signature Authentication
Response 204 No Content
Last updated