Skip to content

Create a tuning job

Reference, synced 2026-06-13.

flowchart TD
  n0["Models"]
  n1["Overview"]
  n2["Products"]
  n3["Solutions"]
  n4["Pricing"]
  n5["Resources"]
  n6["Partners"]
  n7["Support"]
  n8["Language"]
  n0 --> n1
  n1 --> n2
  n2 --> n3
  n3 --> n4
  n4 --> n5
  n5 --> n6
  n6 --> n7
  n7 --> n8

Free access Accelerate Delivery with Fixed-Cost Agentic CodingWatch how it works

Models

Empowering AI innovation for both enterprises and developers with Alibaba Cloud’s best-in-class Qwen models, AI-native apps, and AI solutions.

Alibaba Cloud Model Studio \ Enterprise-grade large model service and application development platform.

Try Visual Model \ Supports image understanding, image generation, and video generation.

Models

HappyHorse-1.0-T2V \ Cinematic creative generation, ultimate dynamic details Qwen3-VL-Plus \ Native VL, spatial reasoning, 1M-context video analysis Wan2.7-VideoEdit \ Supports both localized and global editing with prompt

Qwen3.6-Plus \ Native multimodal, 1M context, agentic coding Wan2.7-Image-Pro \ Interactive editing, long-text rendering, precise prompt following Qwen-Plus \ Balanced intelligence, efficient inference, production-ready performance

Qwen-Image-2.0 \ Professional infographics, exquisite photorealism Z-Image-Turbo \ Ultra-fast image generation, high throughput, cost-optimized inference Qwen3-Coder-Next \ Multi-turn tool interactions, future-ready development support

Wan2.7-T2V \ High-fidelity T2V, 15s duration, advanced camera control Wan2.7-I2V \ Cinematic I2V with emotional depth and visceral impact Wan2.7-R2V \ Up to 5 mixed image/video inputs and audio timbre cloning

GenAI Application

Qoder \ Intelligent coding assistant, available for enterprise-dedicated deployment. Qoder CN \ AI-powered coding assistant that boosts developer productivity with intelligent code completion, AI chat, multi-file editing, and task automation.

AI Service

Model Experience \ Experience full-scale, multimodal model capabilities online. Platform for AI \ An AI-native algorithm engineering platform for end-to-end modeling, training, and inference service deployment. Fine-tune Video Generation Model \ Customize Wan’s text-to-video capabilities through model fine-tuning to meet your unique requirements.

AI Use Case

AI Savings Plan Hot \ Save up to 47% on AI costs. Limited-time offer tailored to your usage. AI Video Creation \ Elevate your professional video production with Wan 2.6.

AI Token Plan \ One plan. Multiple models. Big Savings with a Fixed Subscription. AI Image Creation \ All-in-one creative suite for copywriting, image generation, and poster design.

Overview

As a global full-stack AI leader, Alibaba Cloud aims to make computing accessible to everyone and help worldwide customers accelerate innovation.

Why Alibaba Cloud

About Alibaba Cloud \ AI Powered Cloud Technology Our Global Network \ Explore our global presence and deployment regions around the world Our Global Offices \ With offices in 4 continents, we're always close to where it matters.

Asia Accelerator \ Accelerate Success in Asia with Alibaba Cloud Go Global \ Benefits of our Global Alliance Trust Center \ Empowering enterprises with a secure, compliant, and globally trusted cloud infrastructure

Customers and Insights

Olympic Games \ Alibaba Cloud Powers Olympic Games with AI-powered cloud technology Case Studies \ Learn how customers are scaling their businesses on Alibaba Cloud Analyst Reports \ Learn what the top industry analyst firms are saying about Alibaba Cloud

What's New

Events and Webinars \ Quick access to upcoming and on-demand events Product Updates \ Stay informed of the latest innovations Press Room \ Latest news and media releases

Products

Featured ProductsAI & Machine Learning Computing Container Storage Networking & CDN Security Middleware Database Analytics ComputingMedia ServicesEnterprise Services & Cloud CommunicationDomain Names and WebsitesEnd User ComputingServerlessDeveloper ToolsMigration & O&M ManagementApsara Stack

Alibaba Cloud Model Studio \ Supercharge your AI journey effortlessly with industry-leading GenAI models ApsaraDB RDS \ Store and manage your business data, with automated monitoring and backups Certificate Management Service (Original SSL Certificate) \ Create a safe and secure connection between your website and users

Elastic Compute Service (ECS) \ Host websites anywhere and scale enterprise workloads Container Service for Kubernetes (ACK) \ Run and scale containerized applications on managed Kubernetes infrastructure Object Storage Service (OSS) \ Store large amounts of data in the cloud and access it anywhere, anytime

Simple Application Server (SAS) \ All-in-one services for fast deployment Elastic IP Address (EIP) \ Manage your public IPs independently to improve internet network quality Domain Names and Website \ Get the perfect domain name to suit your every need

Solutions

Solutions by Industry Technical Solutions AI WebsitesNetworking Security and ComplianceData and AnalyticsEnterprise Service and ApplicationCloud MigrationCloud NativeHybrid CloudSMB solutions

Financial Services \ Innovate faster with Alibaba Cloud Games \ Grow your game rapidly with high global availability

New Retail \ Alibaba Cloud enables digital retail transformation to fuel growth and realize an omnichannel customer experience throughout the consumer journey. Media and Entertainment \ Ready your content for today's media market with a digitalized media journey

Supply Chain \ Power your supply chain with intelligent, efficient, and reliable solutions Sports \ Digitizing the sports industry with intelligent tech

Sustainability \ Achieve a sustainable future with low-carbon and energy-efficient technologies

Pricing

Flexible options like pay-as-you-go and clear billing rules to meet diverse business needs.

Overview & Tools

Pricing Calculator \ Get an instant pricing estimate based on your usage and needs Free Trial \ Try our 80+ cloud products for free.

Pricing Options \ Get the most out of Alibaba Cloud with flexible pricing

Optimize your cost

Migrate & Save \ Superior Performance At Lower Pricing. Save up to 50%. Promotion Center \ Unlock the latest Alibaba Cloud offers & promos

Resources

Official documentation, extensive tools, training resources, and a community to grow and innovate in the cloud.

Technical Resources

Documentation \ Product guides and FAQs Architecture Center \ Design reliable, secure, and efficient cloud architecture. Intelligent Solution Explorer \ Find the right solution for you, powered by AI

Blog \ Latest cloud insights and developer trends Whitepapers \ Research that explores the how and why behind our technology

Training&Certification

Alibaba Cloud Academy \ Build cloud skills and earn certifications with expert-led training.

Developer Hub

Alibaba Cloud Project Hub \ Explore real-world projects built by developers using our platform. Our Developer MVPs \ Celebrating the developers who lead, build, and inspire our community

Partners

Partner-first strategy offering collaborative product, sales, and service models, plus high-quality partner solutions that complement Alibaba Cloud’s capabilities.

Marketplace

AI Alliance for ISVs \ Partner with us to build and grow AI solutions together ISV Benefits \ Unlock resources, market access, and go-to-market support as an ISV partner

Alibaba Cloud Marketplace \ Explore ready-to-deploy solutions from our partners and ISVs

Find a Partner

Partner Hub \ Find your ideal partner in no time

Become a Partner

Partner Network \ A partner portal for Alibaba Cloud Channel, Technology, MSP partner and other partner programs

Support

Full-lifecycle support and expert services, from cloud advisory and migration to operations.

Support & Professional Services

Professional Services \ Expert-led services to design, migrate, and optimize your cloud journey Support Plans \ Flexible support for every stage — from startup to enterprise

Partner Support Program \ Priority technical support for partners, with dedicated managers and faster issue resolution

Contact us

Connect With Us \

Talk to a sales expert and get a custom quote for your business

Language

  • English
  • 简体中文
  • 繁體中文
  • 日本語
  • Bahasa Indonesia

Locale

Visit aliyun.com

Documentation

Alibaba Cloud Model Studio

User Guide (Models) User Guide (Application) API Reference (Models) API Reference (Application)

Search for Help Content

Getting Started

The Beginner's Guide

Well-Architected Framework

AI & Machine Learning

Platform For AI

Alibaba Cloud Model Studio

DashVector

Artificial Intelligence Recommendation

OpenSearch

Image Search

Machine Translation

Intelligent Speech Interaction

Optimization Solver

Intelligent Computing LINGJUN

Computing

Elastic Compute Service

Elastic GPU Service

Elastic Container Instance

Dedicated Host

Compute Nest

Simple Application Server

Cloud Box

Auto Scaling

Elastic High Performance Computing

Batch Compute (Deprecated)

Function Compute

Serverless App Engine

ENS

Elastic Desktop Service

App Streaming

WUYING Terminal

Cloud Phone

Edge Network Acceleration

Alibaba Cloud Linux

AgentBay

Container

Container Service for Kubernetes

Container Compute Service

Container Registry

Storage

Object Storage Service

Cloud Parallel File Storage

File Storage NAS

Tablestore

Storage Capacity Unit

Simple Log Service

Cloud Backup

Intelligent Media Management

Drive and Photo Service

Data Transport

Cloud Storage Gateway

Data Online Migration

Hybrid Cloud Storage Array

Storage Services Overview

Backup and Disaster Recovery Center

Networking and CDN

Server Load Balancer

Elastic IP Address

Internet Shared Bandwidth

Data Transfer Plan

Virtual Private Cloud

NAT Gateway

PrivateLink

Alibaba Cloud DNS PrivateZone

Network Intelligence Service

Cloud Data Transfer

IPv6 Gateway

Anycast Elastic IP Address

Cloud Enterprise Network

Global Accelerator

VPN Gateway

Smart Access Gateway

Express Connect

CDN

Edge Security Acceleration

Cloud Network Well-architected Design Guidelines

Security

Anti-DDoS

Web Application Firewall

Cloud Firewall

Security Center

Bastionhost

Secure Access Service Edge

Certificate Management Service

Key Management Service

Data Security Center

Identity as a Service

Fraud Detection

AI Guardrails

Captcha

Blockchain as a Service

ID Verification

Managed Security Service

Middleware

Enterprise Distributed Application Service

Microservices Engine

Alibaba Cloud Service Mesh

SchedulerX

ApsaraMQ for RocketMQ

ApsaraMQ for Kafka

ApsaraMQ for RabbitMQ

ApsaraMQ for MQTT

Simple Message Queue (formerly MNS)

CloudFlow

EventBridge

Application Real-Time Monitoring Service

Managed Service for Prometheus

Managed Service for Grafana

Managed Service for OpenTelemetry

Performance Testing

STAROps

Databases

ApsaraDB Console

PolarDB

ApsaraDB RDS

ApsaraDB for OceanBase (Deprecated)

Tair (Redis® OSS-Compatible)

Lindorm

Time Series Database

ApsaraDB for MongoDB

ApsaraDB for HBase

ApsaraDB for Memcache

ApsaraDB for MyBase

AnalyticDB

ApsaraDB for ClickHouse

ApsaraDB for SelectDB

Data Transmission Service

Database Autonomy Service

Data Management

Database Gateway - Deprecated

ApsaraDB for Cassandra - Deprecated

Analytics Computing

MaxCompute

Hologres

Realtime Compute for Apache Flink

Elasticsearch

Vector Retrieval Service for Milvus

E-MapReduce

Data Lake Formation

DataV

Quick BI

Quick Audience

Quick Tracking

DataWorks

DataHub

Dataphin

Media Services

ApsaraVideo VOD

ApsaraVideo Live

Intelligent Media Services

ApsaraVideo Media Processing

Apsara Video SDK

Enterprise Services & Cloud Communication

Energy Expert

CloudQuotation

Salesforce on Alibaba Cloud

GoChina ICP Filing Assistant

Marketplace

Alibaba Mail

Direct Mail

Short Message Service

Voice Service

Phone Number Verification Service

Cell Phone Number Service

Chat App Message Service

Financial Intelligence Engine

Domain Names and Websites

Domain Names

ICP Filing

Alibaba Cloud DNS

End User Computing

Elastic Desktop Service

App Streaming

WUYING Terminal

Cloud Phone

AgentBay

Internet of Things

IoT Platform

Serverless

Serverless App Engine

CloudFlow

EventBridge

Simple Message Queue (formerly MNS)

Function Compute

Developer Tools

OpenAPI Explorer

Alibaba Cloud SDK

Cloud Shell

Resource Orchestration Service

Alibaba Cloud CLI

BSS OpenAPI

Terraform

Pulumi

Ticket System API

Mobile Platform as a Service

Alibaba Cloud DevOps

API Gateway

Cloud Control API

AI Coding Assistant Lingma

Cloud Skills Portal

Migration & O&M Management

CloudOps Orchestration Service

Cloud Monitor

Intelligent Advisor

Cloud Governance Center

ActionTrail

Cloud Config

Resource Access Management

Resource Management

Cloud Architect Design Tools

Migration Hub

Server Migration Center

Service Catalog

Logic Composer

Quota Center

CloudSSO

HTTPDNS

Solutions

SAP

SuperApp

OpenLake

Membership Service

Expenses and Costs

Account Center

More

Support

Legal

Tech Share Terms and Conditions

After Sales Support

China Gateway Program

Service Level Objectives

Management Console

Security Control

This topic was translated by AI and is currently in queue for revision by our editors. Alibaba Cloud does not guarantee the accuracy of AI-translated content. Request expedited revision

Create a model fine-tuning task.

Create a fine-tuning job

For Windows CMD, replace ${DASHSCOPE_API_KEY} with %DASHSCOPE_API_KEY%. In PowerShell, use $env:DASHSCOPE_API_KEY.

Text generation

Video and image generation

http
curl --location --request POST "https://dashscope-intl.aliyuncs.com/api/v1/fine-tunes" \
      --header "Authorization: Bearer ${DASHSCOPE_API_KEY}" \
      --header 'Content-Type: application/json' \
      --data '{
          "model":"qwen3-14b",
          "training_file_ids":[\
              "86a9fe7f-dd77-43b0-9834-2170e12339ec",\
              "03ead352-6190-4328-8016-61821c23d4fc"\
          ],
          "hyper_parameters":{
              "n_epochs":3,
              "batch_size":32,
              "max_length":8192,
              "learning_rate":"1.6e-5",
              "lr_scheduler_type":"linear",
              "split":0.9
          },
          "training_type":"sft",
          "finetuned_output_suffix":"suffix"
      }'
http
curl --location 'https://dashscope-intl.aliyuncs.com/api/v1/fine-tunes' \
--header "Authorization: Bearer ${DASHSCOPE_API_KEY}" \
--header 'Content-Type: application/json' \
--data '{
    "model": "wan2.7-i2v",
    "training_file_ids": [\
        "<Replace with the file ID of your training dataset>"\
    ],
    "training_type": "efficient_sft",
    "hyper_parameters": {
        "n_epochs": 400,
        "batch_size": 1,
        "learning_rate": 2e-5,
        "split": 0.9,
        "max_split_val_dataset_sample": 5,
        "eval_epochs": 50,
        "max_pixels": 147456,
        "save_total_limit": 10,
        "lora_rank": 32,
        "lora_alpha": 32
    }
}'

Input parameters

ParameterRequiredTypeLocationDescription
ParameterRequiredTypeLocationDescription
training_file_idsYesArrayBodyA list of file IDs for the training set. File IDs are generated by the File Management API.
validation_file_idsNoArrayBodyA list of file IDs for the validation set. File IDs are generated by the File Management API.
modelYesStringBodyThe ID of the model to fine-tune. This can be a or the ID of a model from a previous tuning job. Video/image generation models support the following model values: - Image-to-Video - Based on First Frame: wan2.7-i2v (recommended), wan2.6-i2v, wan2.5-i2v-preview, wan2.2-i2v-flash - Image-to-Video - Based on First and Last Frame: wan2.2-kf2v-flash
hyper_parametersNoMapBodyAn object that contains the hyperparameters for the tuning job. The supported parameters and their default values vary by model. To view the actual default values, select the corresponding model and tuning method in the console. - For text generation, visual understanding, and similar models: Use parameters such as n_epochs (number of epochs), batch_size (batch size), and max_length (sequence length). The n_epochs, batch_size, and max_length parameters affect tuning costs and are required. For details about each parameter, see hyper_parameters Description. - CosyVoice speech synthesis model (cosyvoice-v3-flash only): All eight LM/FM hyperparameters are required. For details about each parameter, see "CosyVoice speech synthesis model hyper_parameters" below.
training_typeNoStringBodyThe tuning method. Valid values are sft or efficient_sft. Video/image generation models only support efficient_sft (LoRA efficient fine-tuning).
job_nameNoStringBodyA name for the tuning job.
model_nameNoStringBodyThe name of the resulting fine-tuned model.

Text generation model

Hyperparameters for video generation models

hyper_parameters supported settings

ParameterDefaultRecommended settingsTypeDescription
n_epochs1Adjust based on fine-tuning results.IntegerNumber of times the model iterates through the training data. Higher values increase training duration and cost.
learning_rate- sft: 1e-5 level - efficient_sft: 1e-4 level The specific value varies depending on the selected model.Use the default value.FloatControls the intensity of model weight updates. - Too high: parameters change drastically, degrading performance. - Too low: performance may not change significantly.
freeze_vittrueAdjust as needed.BooleanFreezes the visual backbone parameters so that its weights remain unchanged during training. Applies only to Qwen-VL models.
batch_sizeThe specific value varies depending on the selected model. The larger the model, the smaller the default batch size.Use the default value.IntegerNumber of data entries per training iteration. Smaller values prolong training time.
eval_steps50Adjust as needed.IntegerInterval (in steps) for evaluating training accuracy and loss during training. Controls display frequency of Validation Loss and Token Accuracy.
logging_steps5Adjust as needed.IntegerInterval (in steps) for printing fine-tuning logs.
lr_scheduler_typecosineRecommended: linear or Inverse_sqrtStringStrategy for dynamically adjusting the learning rate during training. Valid values:
max_length20488192IntegerMaximum token length per training entry. Entries exceeding this limit are discarded.
max_split_val_dataset_sample1000Use the default value.IntegerIf "validation_file_ids" is not set, Alibaba Cloud Model Studio automatically splits a validation set of up to 1,000 entries. If you set "validation_file_ids", this parameter is ignored.
split0.8Use the default value.FloatIf you do not set "validation_file_ids", Model Studio automatically uses 80% of the training file as the training set and 20% as the validation set. If you set "validation_file_ids", this parameter has no effect.
warmup_ratio0.05Use the default value.FloatProportion of total training steps dedicated to learning rate warmup. During warmup, the learning rate linearly increases from a small initial value to the configured rate. Limits the extent of parameter changes during early training, improving stability. Too high: equivalent to a low learning rate; performance may not change. Too low: equivalent to a high learning rate; may degrade performance. > Does not apply to the "Constant" learning rate scheduler type.
weight_decay0.1Use the default value.FloatL2 regularization strength. Helps maintain model generalization. If too high, fine-tuning effects are insignificant.
Parameters for efficient SFT (supportsefficient_sft ) Note When you perform a second round of efficient fine-tuning on a model that has already been efficiently fine-tuned, the lora_rank, lora_alpha, and lora_dropout parameters must be consistent.
lora_rank864IntegerRank of the low-rank matrix in LoRA. Higher ranks improve fine-tuning results but slightly slow down training.
lora_alpha32Use the default value.IntegerScaling factor that controls the balance between original model weights and LoRA corrections. Larger values give more weight to LoRA corrections, making the model more task-specific. Smaller values preserve more pre-trained model knowledge.
lora_dropout0.1Use the default value.FloatDropout rate for LoRA low-rank matrix values. The recommended value enhances generalization. If too high, fine-tuning effects are insignificant.
Parameters for publishing checkpoints
save_strategyepochCan be set to epoch or steps. - When set to steps, set the save_steps parameter to adjust the saving interval.StringControls the interval and maximum number of checkpoints saved during fine-tuning.
save_steps50To modify it, set it to an integer multiple of the eval_steps parameter.IntegerNumber of training steps after which a checkpoint is saved.
save_total_limit110IntegerMaximum number of checkpoints to save for export.

These hyperparameters apply only to video generation models (Wan series). If model performance is poor or training fails to converge, consider adjusting n_epochs or learning_rate. A minimum of 800 total training steps is recommended.

ParameterTypeRequiredDescriptionRecommended value
batch_sizeintYesBatch size. The number of data samples processed in a single training iteration. - wan2.7-i2v: Recommended 1. - wan2.6-i2v: Recommended 1. - wan2.5-i2v-preview: Recommended 2. - wan2.2-i2v-flash: Recommended 4. - wan2.2-kf2v-flash: Recommended 4.Varies by model
n_epochsintYesNumber of training epochs. The total number of steps is calculated as: steps = n_epochs × ⌈dataset size / batch_size⌉. A minimum of 800 total steps is recommended. > Example: If the dataset has 5 samples and batch_size = 2, the steps per epoch = ⌈5/2⌉ = 3. The minimum n_epochs would be 800/3 ≈ 267.400
learning_ratefloatYesLearning rate. Controls the magnitude of model weight updates during training. A value that is too high can degrade model performance, while a value that is too low may result in insignificant changes.2e-5
eval_epochsintYesValidation interval. The interval, in epochs, at which to perform validation and save a checkpoint. The value must be ≥ n_epochs/10.50
max_pixelsintYesMaximum resolution for training videos (total pixels = width × height). The system only resizes videos that exceed this value. - wan2.7-i2v: Recommended 147456. Range: 36864147456. - wan2.6-i2v: Recommended 36864. Range: 1638436864. - wan2.5-i2v-preview: Recommended 36864. Range: 1638436864. - wan2.2-i2v-flash: Recommended 262144. Range: 65536262144. - wan2.2-kf2v-flash: Recommended 262144. Range: 65536262144.Varies by model
splitfloatNoTraining set split ratio. The proportion of the dataset used for training, with a valid range of (0, 1). This parameter is ignored if validation_file_ids is specified.0.9
max_split_val_dataset_sampleintNoMaximum samples for auto-split validation set. The size of the validation set is the smaller of two values: the result of total_samples × (1 − split) or the value of this parameter.5
save_total_limitintNoCheckpoint save limit. The maximum number of recent checkpoints to keep. The system deletes older checkpoints once this limit is exceeded.10
lora_rankintNoLoRA rank. The rank (dimension) of the LoRA low-rank matrices. Must be a power of 2 (2n), such as 16, 32, or 64.32
lora_alphaintNoLoRA alpha. The scaling factor for the LoRA weights. Must be a power of 2 (2n), such as 16, 32, or 64.32

Example response

Text generation model

Video and image generation model

json
{
          "request_id": "9654e55a-d74b-4113-aee1-fa19c9384fcc",
          "output": {
              "job_id": "ft-202410291653-1c7f",
              "job_name": "ft-202410291653-1c7f",
              "status": "PENDING",
              "model": "qwen3-14b",
              "base_model": "qwen3-14b",
              "training_file_ids": [\
                  "976bd01a-f30b-4414-86fd-50c54486e3ef"\
              ],
              "validation_file_ids": [\
\
              ],
              "hyper_parameters": {
                  "n_epochs": 3,
                  "batch_size": 32,
                  "max_length": 8192,
                  "learning_rate": "1.6e-5",
                  "lr_scheduler_type": "linear",
                  "split": 0.9
              },
              "training_type": "sft",
              "create_time": "2024-10-29 16:53:53",
              "workspace_id":"llm-v71tlv***",
              "user_identity": "1396993924585947",
              "modifier": "1396993924585947",
"creator": "1396993924585947",
              "group": "llm"
          }
      }

Focus on output.job_id (job ID) and output.finetuned_output (the name of the new model generated after fine-tuning, which is used for deployment).

Video generation model

json
{
    "request_id": "0eb05b0c-02ba-414a-9d0c-xxxxxxxxx",
    "output": {
        "job_id": "ft-202511111122-xxxx",
        "job_name": "ft-202511111122-xxxx",
        "status": "PENDING",
        "finetuned_output": "wan2.5-i2v-preview-ft-202511111122-xxxx",
        "model": "wan2.5-i2v-preview",
        "base_model": "wan2.5-i2v-preview",
        "training_file_ids": [\
            "xxxxxxxxxxxx"\
        ],
        "validation_file_ids": [],
        "hyper_parameters": {
            "n_epochs": 400,
            "batch_size": 2,
            "learning_rate": 2.0E-5,
            "split": 0.9,
            "eval_epochs": 50
        },
        "training_type": "efficient_sft",
        "create_time": "2025-11-11 11:22:22"
    }
}

Response parameters

ParameterTypeDescription
ParameterTypeDescription
request_idStringThe ID of the request.
outputObjectDetails of the fine-tuning job.
output.job_idStringThe ID of the fine-tuning job. You can use this ID with other APIs, such as querying fine-tuning job details, querying fine-tuning job logs, canceling a fine-tuning job, and deleting a fine-tuning job. Format: ft-{yyyyMMddHHmm}-{4-character ID}.
output.jobs_nameStringSame as output.job_id.
output.statusStringThe job status.
output.modelStringThe ID of the model that was fine-tuned.
output.base_modelStringThe ID of the base model used for fine-tuning. Example: For the fine-tuning job ft-202410291653-1c7f, the base model is qwen3-14b.
output.training_file_idsArrayAn array of fine-tuning file IDs.
output.validation_file_idsArrayAn array of validation file IDs.
output.hyper_parametersObjectThe hyperparameters explicitly set for the job.
output.training_typeStringThe fine-tuning method.
output.create_timeStringThe time the fine-tuning job was created.
output.workspace_idStringThe ID of the workspace that contains the fine-tuning job.
output.user_identityStringThe UID of the owning main account.
output.modifierStringThe UID of the account that last modified the job. For example, if a sub-account cancels the job, this field returns the UID of that sub-account.
output.creatorStringThe UID of the user who created the job.
output.groupStringThe job type for model fine-tuning.
Job statusDescription
Job statusDescription
PENDINGThe fine-tuning job is waiting to start.
QUEUINGThe fine-tuning job is in the queue. (Only one fine-tuning job can run at a time.)
RUNNINGThe fine-tuning job is running.
CANCELINGThe fine-tuning job is being canceled.
SUCCEEDEDThe fine-tuning job has succeeded.
FAILEDThe fine-tuning job has failed.
CANCELEDThe fine-tuning job has been canceled.

Request error codes

Returned when a request fails.

ParameterTypeDescriptionExample
ParameterTypeDescriptionExample
codeStringThe error code.NotFound
request_idStringThe system-generated unique ID for this request.6332fb02-3111-43f0-bf79-f9e8c5ffa7f9
messageStringThe error message.Not Found!

Example response

json
{
        "code": "NotFound",
        "request_id": "BE213CDD-8A5C-59EE-9A67-055EAB0CB59B",
        "message": "Not Found!"
      }

Error codes

HTTP status codeError codeExampleDescriptionSolution
HTTP status codeError codeExampleDescriptionSolution
400InvalidParameterMissing training filesA parameter is invalid, either because a required parameter is missing or a value has an incorrect format.Check the error message and correct the parameters in your request.
400UnsupportedOperationThe fine-tune job cannot be deleted because it has already succeeded, failed, or been canceled.The resource is in a state that prevents this operation.Retry the operation after the resource enters an operational state.
404NotFoundNot found!The requested resource does not exist.Verify that the resource ID is correct.
409ConflictModel instance xxxxx already exists, please specify a suffixA deployment instance with the specified name already exists.Specify a unique suffix for the deployment.
429Throttling- Too many fine-tune jobs are running. Please retry later. - Each user is allowed a maximum of 20 fine-tune jobs that are running or have succeeded.The request was rejected because a platform limit was reached.- Delete unused models.
500InternalErrorInternal server error!An internal error occurred.Record the request_id and submit a ticket to Alibaba Cloud support for troubleshooting.

Previous: OpenAI-compatible - ConversationsNext: Video generation model fine-tuning API

Is this page helpful?

Create a fine-tuning job

Input parameters

Example response

Response parameters

Request error codes

Contact Us

Sales Support

Live-chat with our sales team or get in touch with a business development professional in your region.

Contact Sales

Technical Support

Open a ticket and get quick help from our technical team.

Open a Ticket >

Connect & Report Abuse

We look forward to your suggestion.

Post a Suggestion > Report Abuse >

\ \ Hi, I'm Alibaba Cloud AI Assistant!\ \ I can help with questions and solutions.

Why Alibaba Cloud

About Alibaba Cloud

Asia Accelerator

Our Global Network

Global Offices

Trust Center

Case Studies

Analyst Reports

Products & Pricings

Pricing Calculator

ECS

SAS

Model Studio

Database

Security

SMS

Solutions

Financial Services

Retail Services

Media Services

Gaming Services

ISV Solutions

Engage

Developer Community

Partner Network

Startups

Marketplace

Join Alibaba Cloud

Resources & Support

Developer Learning Hub

Documentation Center

Training & Certification

Service Notices

Submit a Ticket

Security Report

Qwen Cloud

Careers About Us Privacy Policy Legal Integrity Compliance Reporting Channel Service Notices Links

© 2009-2026 Copyright by Alibaba Cloud All rights reserved

© 2009-2026 Copyright by Alibaba Cloud All rights reserved

Careers About Us Privacy Policy Legal Integrity Compliance Reporting Channel Service Notices Links