Search...
/
Login
Sign up
Documentation
API Reference
Integrations
Release Notes
Status
Community
Support
Documentation
API Reference
Integrations
Release Notes
Status
Community
Support
OctoAI API
Authentication
Inference
Account
GET
Get fields on an account
Endpoint
POST
Create new endpoint
GET
Get description of an endpoint
DEL
Delete an endpoint
PATCH
Update an endpoint
GET
List endpoints
GET
Get container metadata
GET
Get token for accessing the volume
Telemetry
GET
Get endpoint logs
GET
Get endpoint logs as stream
GET
Get endpoint events
GET
Get endpoint events as stream
Secret
POST
Create new secret
GET
Retrieve secret by key
PUT
Update secret by key
DEL
Delete secret by key
GET
Get secret
Registry Credential
POST
Create new registry credentials
GET
Retrieve registry credentials by key
PUT
Update registry credentials
DEL
Delete registry credentials
GET
Get registry credentials
Public Endpoint
GET
List public, OctoAI-deployed endpoints
Instance Types
GET
List hardware instance types
Text Generation API
STREAM
Create Chat Completion
STREAM
Create Completion
Media Generation API
POST
Generate SD1.5
POST
Generate SDXL
POST
Generate SD3
POST
Generate ControlNet 1.5
POST
Generate ControlNet SDXL
POST
Generate SVD
POST
IP Adapter
POST
Generate FLUX.1 [dev]
POST
Generate FLUX.1 [schnell]
Fine Tuning API
POST
Create Tune
GET
Retrieve Tune
DEL
Delete Tune
POST
Cancel Tune
GET
List Tunes
Asset Library API
GET
List Assets
POST
Create Asset
DEL
Delete Asset
POST
Complete Asset Upload
GET
Retrieve Asset
Media Utilities API
POST
Adetailer
POST
Upscaling
POST
Remove Background
Login
Sign up
Fine Tuning API
Cancel Tune
POST
https://
api.octoai.cloud
/
v1
/
tune
/
:tune_id
/
cancel
Cancel the specified tune.
Path parameters
tune_id
string
Required
The ID of the tune to cancel.
Response
This endpoint returns an object
created_at
datetime
The time this tune task was created.
description
string
The description of the tune.
details
object
Tune details. This field is used to store a specific tune type configurations.
Show 3 variants
id
string
The ID of the LoRA tune.
name
string
The name of the tune.
output_lora_ids
list of strings
The output LoRA IDs, if the task was successful.
status
enum
Allowed values:
pending
running
succeeded
cancelled
failed
The status of the associated task.
status_details
string
The details of the status, only used when the associated task failed.
tenant_id
string
The tenant who requested the LoRA tune.
tune_type
enum
Allowed values:
lora_tune
text_tune
text_to_speech_latent_tune
text_to_speech_rvc_tune
text_to_speech_tortoise_tune
The type of this tune.
updated_at
datetime
The time this tune task was updated.
deleted_at
datetime
Optional
The time this tune task was deleted.
result
object
Optional
Tune result.
Show 4 properties
succeeded_at
datetime
Optional
The time the tune task succeeded.