POST
/
fine_tuning
/
jobs
curl --request POST \
  --url https://vaeroapi.com/v1/fine_tuning/jobs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "style_model": "vaero-1",
  "base_model": "general",
  "training_files": [
    "file-abc123",
    "file-abc124"
  ],
  "suffix": "custom-name"
}'
{
  "object": "fine_tuning.job",
  "id": "ftjob-abc123",
  "style_model": "vaero-1",
  "base_model": "gpt-4o",
  "created_at": 1721764800,
  "fine_tuned_model": null,
  "organization_id": "org-123",
  "status": "queued",
  "training_files": [
    "file-abc123",
    "file-abc124"
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
training_files
string[]
required

Array of IDs of uploaded files to use for training. All files must be text-only.

Example:
["file-abc123", "file-abc124"]
style_model
string
default:vaero-1

The name of the model to fine-tune for styling. Options: 'vaero-1'.

Example:

"vaero-1"

base_model
string
default:general

The name of the base model whose output will be styled. For example, if you are planning to style the outputs of claude-3-5-sonnet-20240620, you should set this to claude-3-5-sonnet-20240620. Options: 'gpt-4o-2024-08-06', 'claude-3-5-sonnet-20240620', 'general'. Use 'general' to work with any model.

Example:

"general"

suffix
string | null

A string of up to 16 characters that will be added to your fine-tuned model name. For example, a suffix of 'custom-name' would produce a model name like 'ftm-custom-name-0b5ace7e-ffb2-43cf-8a4d-0af17bc2b1d1'.

Example:

"custom-name"

Response

200
application/json

A fine-tuning job object.

object
string

The type of the object, always 'fine_tuning.job'.

Example:

"fine_tuning.job"

id
string

The ID of the fine-tuning job.

Example:

"ftjob-abc123"

style_model
string

The model being fine-tuned.

Example:

"vaero-1"

base_model
string

The name of the base model whose output is to be styled.

Example:

"gpt-4o"

created_at
integer

The Unix timestamp for when the job was created.

Example:

1721764800

fine_tuned_model
string | null

The name of the fine-tuned model.

Example:

null

organization_id
string

The organization ID associated with this fine-tuning job.

Example:

"org-123"

status
string

The current status of the job.

Example:

"queued"

training_files
string[]

Array of file IDs used for training.

Example:
["file-abc123", "file-abc124"]