Tüm Ürünler
Search
Belge Merkezi

:EncodeBlindWatermark

Son Güncelleme:Oct 02, 2026

Belirli metinsel bilgileri bir görüntüye filigran olarak gömer. Bu filigranlar görsel olarak algılanamaz ve görüntünün estetiğini veya orijinal verilerin bütünlüğünü etkilemez. Filigranlar, CreateDecodeBlindWatermarkTask işlemi kullanılarak çıkarılabilir.

Operation description

  • Bu işlemi çağırmadan önce, Intelligent Media Management (IMM) ücretlendirmesine aşina olduğunuzdan emin olun.

  • Bir IMM projesi oluşturulduğundan emin olun. Proje oluşturma hakkında bilgi için CreateProject sayfasına bakın.

  • Bir görüntüye yalnızca metni görünmez filigran olarak gömebilirsiniz.

  • Çıktı görüntüsünün biçimi, girdi görüntüsünün biçimiyle aynıdır.

  • Görüntü üzerinde sıkıştırma, ölçeklendirme, kırpma ve renk dönüştürme gibi saldırılar gerçekleştirilse bile görünmez filigran yine de çıkarılabilir.

  • Saf siyah beyaz görüntüler ve düşük çözünürlüklü görüntüler (yaklaşık 200 px × 200 px'ten az) desteklenmez.

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:EncodeBlindWatermark

none

*Project

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

None None

Request parameters

Parameter

Type

Required

Description

Example

ProjectName

string

Yes

Projenin adı. Daha fazla bilgi için CreateProject sayfasına bakın.

test-project

SourceURI

string

Yes

Görüntünün Object Storage Service (OSS) URI'si.

Değeri oss://${Bucket}/${Object} biçiminde belirtin. ${Bucket}, mevcut projeyle aynı bölgede bulunan OSS kovasının adını belirtir. ${Object}, uzantısı dahil olmak üzere nesnenin yolunu belirtir.

Desteklenen görüntü biçimleri: JPG, PNG, BMP, TIFF ve WebP.

Görüntü boyutu sınırı: en fazla 10.000 px ve en az 80 px × 80 px.

oss://test-bucket/test-object.jpg

TargetURI

string

Yes

OSS'deki çıktı görüntüsünün URI'si.

URI'yi oss://${Bucket}/${Object} biçiminde belirtin; burada ${Bucket} mevcut projeyle aynı bölgedeki kovanın adıdır ve ${Object} uzantısı dahil olmak üzere nesnenin yoludur.

Not
  • Çıktı görüntüsünün biçimi, girdi görüntüsünün biçimiyle aynıdır.

oss://test-bucket/target-object.jpg

Content

string

No

Filigranların metin içeriği. Uzunluğu en fazla 256 karakter olabilir.

阿里云版权所有

StrengthLevel

string

No

Filigran güç seviyesi. Güç ne kadar yüksekse, filigranlı görüntü saldırılara o kadar dayanıklı olur, ancak görüntü o kadar fazla bozulur. Varsayılan değer: low. Geçerli değerler: [low, medium, high].

Valid values:

  • high :

    high.

  • low :

    low.

  • medium :

    medium.

low

ImageQuality

integer

No

Bu parametre yalnızca girdi görüntüsü biçimi JPG olduğunda geçerlidir.

Filigranları taşıyan çıktı görüntüsünün depolama kalitesi. Varsayılan değer: 90. Geçerli değerler: 70 ile 100 arası. Kalite ne kadar yüksekse, görüntü boyutu o kadar büyük ve filigran çözünürlük kalitesi o kadar yüksek olur.

90

Response elements

Element

Type

Description

Example

object

Yanıt şeması.

RequestId

string

İstek kimliği.

8E0DD64B-28C6-4653-8FF7-93E4C234BCF0

Examples

Success response

JSON format

{
  "RequestId": "8E0DD64B-28C6-4653-8FF7-93E4C234BCF0"
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.