El contenido no se encuentra disponible en el idioma seleccionado. Estamos trabajando continuamente para agregar más idiomas. Gracias por su apoyo.

Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive
Help Center/ MetaStudio/ API Reference/ Image Modeling Management/ Querying Virtual Avatar Model Training Tasks

Querying Virtual Avatar Model Training Tasks

Function

Queries virtual avatar model training tasks.

Calling Method

For details, see Calling APIs.

URI

GET /v1/{project_id}/digital-human-training-manage/user/jobs

Table 1 Path Parameters

Parameter

Mandatory

Type

Description

project_id

Yes

String

Project ID. For details about how to obtain the project ID, see Obtaining a Project ID.

Table 2 Query Parameters

Parameter

Mandatory

Type

Description

offset

No

Integer

Offset where the query starts.

Value range:

0-2147483647

Default value:

0

limit

No

Integer

Number of items displayed on each page.

Value range:

1-100

Default value:

10

sort_key

No

String

Sorting field. Options:

  • create_time: sorting by creation time

  • update_time: sorting by update time

  • asset_order: sorting by asset

sort_dir

No

String

Sorting mode.

  • asc: ascending order

  • desc: descending order

asc is used by default.

create_until

No

String

Filter the records whose creation time is not later than the entered time.

create_since

No

String

Filter the records whose creation time is not earlier than the entered time.

state

No

String

Task status. By default, all statuses are selected.

Multiple statuses can be queried. Use commas (,) to separate them,

for example, state=CREATING,PUBLISHED.

query_project_id

No

String

Queries the tenant ID.

batch_name

No

String

Task batch name.

tag

No

String

Task tag.

job_id

No

String

Task ID.

name

No

String

Virtual avatar model name.

model_resolution

No

String

Model resolution

is_flexus

No

Boolean

Whether the task is a Flexus task.

Request Parameters

Table 3 Request header parameters

Parameter

Mandatory

Type

Description

X-Auth-Token

No

String

User token. This parameter is mandatory when token authentication is used.

You can obtain the token by calling the IAM API used to obtain a user token.

Value of X-Subject-Token in the response header.

Authorization

No

String

Authentication information. This parameter is mandatory for AK/SK authentication.

X-Sdk-Date

No

String

Time when the request is sent. This parameter is mandatory for AK/SK authentication.

The format is YYYYMMDD'T'HHMMSS'Z'.

X-Project-Id

No

String

Project ID. This parameter is mandatory for AK/SK authentication.

X-App-UserId

No

String

Third-party user ID, which does not allow Chinese characters.

Response Parameters

Status code: 200

Table 4 Response header parameters

Parameter

Type

Description

X-Request-Id

String

Request ID.

Table 5 Response body parameters

Parameter

Type

Description

count

Integer

Number of virtual avatar model training tasks.

Value range:

0-2147483647

jobs

Array of TrainingJobBasicInfo objects

Virtual avatar model training tasks.

Table 6 TrainingJobBasicInfo

Parameter

Type

Description

job_id

String

Task ID.

name

String

Virtual avatar model name, which is used as its name in the asset library.

state

String

Task status. Options:

  • WAIT_FILE_UPLOAD: to upload files

  • AUTO_VERIFYING: auto reviewing...

  • AUTO_VERIFY_FAILED: Auto review failed.

  • MANUAL_VERIFYING: manually reviewing...

  • WAIT_TRAINING_DATA_PREPROCESS: waiting for training data preprocessing...

  • MANUAL_VERIFY_FAILED: Manual review failed.

  • MANUAL_VERIFY_SUCCESS: approved and waiting for resource preprocessing

  • TRAINING_DATA_PREPROCESSING: preprocessing training data...

  • TRAINING_DATA_PREPROCESS_FAILED: Training data preprocessing failed.

  • TRAINING_DATA_PREPROCESS_SUCCESS: training data preprocessed and waiting for resource training

  • TRAINING: training...

  • TRAIN_FAILED: Training failed.

  • TRAIN_SUCCESS: training completed and waiting for resource preprocessing

  • INFERENCE_DATA_PREPROCESSING: preprocessing inference data...

  • INFERENCE_DATA_PREPROCESS_FAILED: Inference data preprocessing failed.

  • WAIT_MASK_UPLOAD: waiting for mask upload...

  • WAIT_MAIN_FILE_UPLOAD: waiting for main file upload...

  • JOB_SUCCESS: training task completed

  • MANUAL_STOP_INFERENCE_DATA_PREPROCESS: manually stop inference preprocessing

  • MANUAL_STOP_TRAIN: manually stop training

  • MANUAL_STOP_TRAINING_DATA_PREPROCESS: manually stop training preprocessing

  • WAIT_USER_CONFIRM: waiting for the user to confirm the training result...

  • JOB_REJECT: task rejected

  • JOB_PENDING: task suspended

  • WAIT_ADMIN_CONFIRM: The task is waiting for the administrator to review.

  • JOB_FINISH: The task is complete and the status cannot be changed.

  • COMPILING: compiling...

  • WAIT_COMPILE: waiting for compilation...

  • COMPILE_FAILED: Compilation failed.

  • WAIT_GENERATE_ACTION: waiting for generating an atomic action...

  • WAIT_ARRANGE: waiting for choreography...

  • ACTION_GENERATE_DATA_PROCESSING: generating an atomic action...

  • MANUAL_STOP_ACTION_GENERATE_DATA_PROCESSING: manually terminate action generation

  • MANUAL_STOP_ACTION_GENERATE_ORI_PROCESSING: manually terminate choreography

  • ACTION_GENERATE_ORI_PROCESSING: choreographing...

  • ACTION_GENERATE_DATA_FAILED: Action generation failed.

  • ACTION_GENERATE_ORI_FAILED: Generating the asset for choreography failed.

  • ACTION_GENERATE_ORI_SUCCESS: Choreography succeeded.

  • **GENERATE_ACTION_PREPROCESS_FAILED: Generating the atomic action for choreography failed.

  • WAIT_ADMIN_CALIBRATION: waiting for the administrator to confirm the action...

asset_id

String

Model asset ID.

project_id

String

Project ID of a model asset.

cover_download_url

String

URL for downloading the virtual avatar model thumbnail. The URL is valid for 24 hours.

last_update_time

String

Indicates the last time when a user updates a task (for example, creates or resubmits a task). The format complies with RFC 3339, for example, 2020-07-30T10:43:17Z.

create_time

String

Creation time. The format complies with RFC 3339, for example, 2020-07-30T10:43:17Z.

contact

String

Contact of the virtual avatar training task creator, for example, mobile number or email address.

batch_name

String

Batch name of virtual avatar training tasks.

tags

Array of strings

Tag of a virtual avatar training task.

model_version

String

Virtual avatar model version. The default value is V3.

  • V2: V2 model

  • V3: V3 model

Value range:

0-64

Default value:

V3.2

matting_type

String

Matting type. The default value is AI.

  • AI: AI matting

  • MANUAL: manual matting

Default value:

AI

model_resolution

String

Virtual avatar model resolution, which defaults to 1080p.

  • 1080P: 1080p. 1080p or 720p video output is supported.

  • 4K: 4K. 4K, 1080p, or 720p video output is supported.

app_user_id

String

Customized user ID. This parameter is carried if X-App-UserId is set during task creation.

is_flexus

Boolean

Whether the image training is of the basic edition

Status code: 400

Table 7 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error description.

Status code: 500

Table 8 Response body parameters

Parameter

Type

Description

error_code

String

Error code.

error_msg

String

Error description.

Example Requests

https://aaa.com/rest/v1/***/digital-human-training-manage/user/jobs?query_project_id=***&offset=0&limit=10

Example Responses

Status code: 200

The information is returned when the request succeeded.

{
  "count" : 101,
  "jobs" : [ {
    "job_id" : "646682facddb4912976f19a4d61c6a91",
    "name" : "Name 1",
    "state" : "TRAINING",
    "project_id" : "***",
    "cover_download_url" : "https://example.com/646682facddb4912976f19a4d61c6a91_cover?param1=XXX&param2=YYY",
    "last_update_time" : "2023-12-09T07:38:09Z",
    "create_time" : "2023-12-08T08:30:56Z",
    "contact" : "1**********",
    "tags" : [ ],
    "model_version" : "V3.2",
    "matting_type" : "AI"
  }, {
    "job_id" : "efc5300ecdba4ea48d1ff13a9d907bc0",
    "name" : "Name 2",
    "state" : "MANUAL_VERIFYING",
    "project_id" : "***",
    "cover_download_url" : "https://example.com/efc5300ecdba4ea48d1ff13a9d907bc0_cover?param1=XXX&param2=YYY",
    "last_update_time" : "2023-12-09T07:32:46Z",
    "create_time" : "2023-12-09T07:31:37Z",
    "contact" : "1**********",
    "model_version" : "V3",
    "matting_type" : "AI"
  }, {
    "job_id" : "7889dfd55bf14834a35e78c7f0aa0516",
    "name" : "Name 3",
    "state" : "INFERENCE_DATA_PREPROCESS_FAILED",
    "project_id" : "***",
    "cover_download_url" : "https://example.com/7889dfd55bf14834a35e78c7f0aa0516_cover?param1=XXX&param2=YYY",
    "last_update_time" : "2023-12-09T07:09:02Z",
    "create_time" : "2023-12-08T08:34:12Z",
    "contact" : "1**********",
    "tags" : [ ],
    "model_version" : "V3.2",
    "matting_type" : "AI"
  }, {
    "job_id" : "222509ed63c2498599f519d5ec7ef462",
    "name" : "Name 4",
    "state" : "TRAINING_DATA_PREPROCESS_SUCCESS",
    "project_id" : "***",
    "cover_download_url" : "https://example.com/222509ed63c2498599f519d5ec7ef462_cover?param1=XXX&param2=YYY",
    "last_update_time" : "2023-12-09T07:08:21Z",
    "create_time" : "2023-12-08T08:33:24Z",
    "contact" : "1**********",
    "tags" : [ ],
    "model_version" : "V3.2",
    "matting_type" : "AI"
  }, {
    "job_id" : "dd4a596edc2c44dd881b5e9eff485e21",
    "name" : "Name 5",
    "state" : "TRAINING_DATA_PREPROCESS_SUCCESS",
    "project_id" : "***",
    "cover_download_url" : "https://example.com/dd4a596edc2c44dd881b5e9eff485e21_cover?param1=XXX&param2=YYY",
    "last_update_time" : "2023-12-09T02:12:01Z",
    "create_time" : "2023-12-08T08:29:25Z",
    "contact" : "1**********",
    "model_version" : "V3.2",
    "matting_type" : "AI"
  }, {
    "job_id" : "bf46c9f335b14e84bd028f6acb52686b",
    "name" : "Name 6",
    "state" : "JOB_FINISH",
    "asset_id" : "3174263c6199e0a10d83a257b272ac71",
    "project_id" : "***",
    "cover_download_url" : "https://example.com/bf46c9f335b14e84bd028f6acb52686b_cover?param1=XXX&param2=YYY",
    "last_update_time" : "2023-12-08T08:37:39Z",
    "create_time" : "2023-11-29T09:39:25Z",
    "contact" : "1**********",
    "model_version" : "V3",
    "matting_type" : "AI"
  }, {
    "job_id" : "2f96ddd4fdda40af977c1b1d3b6adca8",
    "name" : "Name 7",
    "state" : "INFERENCE_DATA_PREPROCESS_FAILED",
    "asset_id" : "22741ee4bc4130282835bdc2a4b4ac79",
    "project_id" : "***",
    "cover_download_url" : "https://example.com/2f96ddd4fdda40af977c1b1d3b6adca8_cover?param1=XXX&param2=YYY",
    "last_update_time" : "2023-12-08T07:26:53Z",
    "create_time" : "2023-10-19T01:13:24Z",
    "contact" : "15312090046",
    "batch_name" : "234",
    "model_version" : "V3",
    "matting_type" : "AI"
  }, {
    "job_id" : "e477dcf363234b2f8aa2aad4d8bad46b",
    "name" : "Name 8",
    "state" : "INFERENCE_DATA_PREPROCESS_FAILED",
    "asset_id" : "d36e8df774ae88315911724d4467cb6d",
    "project_id" : "***",
    "cover_download_url" : "https://example.com/e477dcf363234b2f8aa2aad4d8bad46b_cover?param1=XXX&param2=YYY",
    "last_update_time" : "2023-12-08T01:58:52Z",
    "create_time" : "2023-11-27T06:39:46Z",
    "contact" : "1**********",
    "model_version" : "V3.2",
    "matting_type" : "AI"
  }, {
    "job_id" : "d8ca20175d5b4ae6b0056c62e4553d36",
    "name" : "Name 9",
    "state" : "INFERENCE_DATA_PREPROCESS_FAILED",
    "asset_id" : "5ff8e2893ffa8ef848050260eb08faa9",
    "project_id" : "***",
    "cover_download_url" : "https://example.com/d8ca20175d5b4ae6b0056c62e4553d36_cover?param1=XXX&param2=YYY",
    "last_update_time" : "2023-12-04T05:39:24Z",
    "create_time" : "2023-11-06T13:51:09Z",
    "contact" : "1**********",
    "model_version" : "V3.2",
    "matting_type" : "AI"
  }, {
    "job_id" : "65e9fb9ac78546268e7d60d5003bfbdc",
    "name" : "Name 10",
    "state" : "INFERENCE_DATA_PREPROCESS_FAILED",
    "asset_id" : "71a0df4bd5966a33818af2b5094cf197",
    "project_id" : "***",
    "cover_download_url" : "https://example.com/65e9fb9ac78546268e7d60d5003bfbdc_cover?param1=XXX&param2=YYY",
    "last_update_time" : "2023-12-01T07:58:26Z",
    "create_time" : "2023-11-29T11:19:22Z",
    "contact" : "1**********",
    "model_version" : "V3",
    "matting_type" : "AI"
  } ]
}

Status code: 400

{
  "error_code" : "MSS.00000003",
  "error_msg" : "Invalid parameter"
}

Status code: 500

{
  "error_code" : "MSS.00000004",
  "error_msg" : "Internal Error"
}

Status Codes

Status Code

Description

200

The information is returned when the request succeeded.

400

Parameters error, including the error code and its description.

500

Internal service error.

Error Codes

See Error Codes.

Utilizamos cookies para mejorar nuestro sitio y tu experiencia. Al continuar navegando en nuestro sitio, tú aceptas nuestra política de cookies. Descubre más

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback