Tüm Ürünler
Search
Belge Merkezi

:CreateSimilarImageClusteringTask

Son Güncelleme:Oct 02, 2026

Benzer görüntü kümeleme özelliği, bir veri kümesinde dizine eklediğiniz görüntüleri görsel benzerliğe göre kümeler halinde gruplandırır. Bu özellik, görüntülerdeki yinelenenleri kaldırma veya en iyi çekimleri seçme gibi senaryolar için kullanışlıdır. Örneğin, bir albümdeki seri çekim fotoğraflarını filtrelemek için kullanabilirsiniz.

Operation description

  • Bu işlemi çağırmadan önce, Intelligent Media Management (IMM) faturalandırma yöntemlerini ve fiyatlandırmasını inceleyin.\n

    Önemli Eşzamansız görevlerin yürütme süresi garanti edilmez.

  • Bu işlemi çağırmadan önce, dosyaları bir veri kümesinde dizine ekleyin. Dosyaları CreateBinding kullanarak bir veri kaynağı bağlayarak veya IndexFileMeta ya da BatchIndexFileMeta kullanarak dosyaları doğrudan dizine ekleyerek bu işlemi gerçekleştirebilirsiniz.

  • Bu işleme yapılan her çağrı, belirtilen Dataset içindeki dosyaları artımlı olarak işler. Yeni dosyaları işlemek için bu işlemi düzenli aralıklarla çağırabilirsiniz.

  • Kümeleme tamamlandıktan sonra, kümeleme sonuçlarını almak için QuerySimilarImageClusters işlemini çağırın.

  • Her benzer görüntü kümesi en az iki görüntü içermelidir. Bir veri kümesinden bir dosyanın silinmesi benzer görüntü kümelerini değiştirir. Bir görüntünün silinmesi kümedeki görüntü sayısını ikinin altına düşürürse, küme otomatik olarak silinir.

  • Bu işlem eşzamansızdır. Bir görev başladıktan sonra bilgileri yalnızca yedi gün boyunca saklanır. Bu süreden sonra bilgileri sorgulayamazsınız. Görev bilgilerini görüntülemek için GetTask veya ListTasks işlemini çağırın ve döndürülen TaskId değerini kullanın. Görevle ilgili eşzamansız bildirim mesajları almak için Notification parametresini de ayarlayabilirsiniz.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

imm:CreateSimilarImageClusteringTask

create

*Dataset

acs:imm:{#regionId}:{#accountId}:project/{#ProjectName}/dataset/{#DatasetName}

None None

Request parameters

Parameter

Type

Required

Description

Example

ProjectName

string

Yes

Projenin adı. Daha fazla bilgi için Proje oluşturma konusuna bakın.

test-project

DatasetName

string

Yes

Veri kümesinin adı. Daha fazla bilgi için Veri kümesi oluşturma konusuna bakın.

test-dataset

UserData

string

No

Özel bilgiler. Bu bilgiler, mesajı sisteminizle ilişkilendirmenize yardımcı olmak için eşzamansız bildirim mesajında döndürülür. Değer en fazla 2.048 bayt uzunluğunda olabilir.

test-data

Tags

object

No

Eşzamansız görevleri aramak ve filtrelemek için kullanılan özel etiketler.

{ "User": "Jane" }

Notification Notification

No

Bildirim mesajının yapılandırması. Daha fazla bilgi için Bildirim seçeneğine tıklayın. Eşzamansız bildirim mesajlarının formatı hakkında daha fazla bilgi için Eşzamansız bildirim mesajları konusuna bakın.

Response elements

Element

Type

Description

Example

object

Benzer görüntü kümeleme görevi hakkındaki bilgiler.

RequestId

string

İstek kimliği.

1B3D5E0A-D8B8-4DA0-8127-ED32C851****

TaskId

string

Görev kimliği.

SimilarImageClustering-48d0a0f3-8459-47f4-b8af-ff49c64****

EventId

string

Olay kimliği.

3BF-1UhtFyrua71eOkFlqYq23Co****

Examples

Success response

JSON format

{
  "RequestId": "1B3D5E0A-D8B8-4DA0-8127-ED32C851****",
  "TaskId": "SimilarImageClustering-48d0a0f3-8459-47f4-b8af-ff49c64****",
  "EventId": "3BF-1UhtFyrua71eOkFlqYq23Co****"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.