{"openapi":"3.0.3","info":{"title":"ItsRose API","description":"API documentation for ItsRose services","version":"1.0.0"},"components":{"schemas":{"ElevenLabsCreateIVCVoice":{"type":"object","properties":{"audio_urls":{"type":"array","items":{"type":"string","format":"uri"},"description":"List of audio url."},"name":{"type":"string","minLength":1,"maxLength":100,"description":"A name to identify this voice.\n\n> [!warning]\n> **Do not** include personally identifiable information (PII),\n> such as your email address, phone number, home address, or full legal name.\n\n> [!note]\n> Any personal information you include will be automatically redacted."},"remove_background_noise":{"description":"Whether to remove background noise from the audio files. Defaults to false.","type":"string"},"description":{"description":"A description of the voice.","type":"string","maxLength":500},"labels":{"description":"Labels for the voice. Keys can be language, accent, gender, or age.","nullable":true,"anyOf":[{"type":"object","additionalProperties":{"type":"string"}},{"type":"string"}]}},"required":["audio_urls","name"]},"ElevenLabsOutputFormat":{"type":"string","enum":["alaw_8000","mp3_22050_32","mp3_24000_48","mp3_44100_128","mp3_44100_192","mp3_44100_32","mp3_44100_64","mp3_44100_96","opus_48000_128","opus_48000_192","opus_48000_32","opus_48000_64","opus_48000_96","pcm_16000","pcm_22050","pcm_24000","pcm_32000","pcm_44100","pcm_48000","pcm_8000","ulaw_8000","wav_16000","wav_22050","wav_24000","wav_32000","wav_44100","wav_48000","wav_8000"],"description":"The output format of the generated audio."},"ElevenLabsMusicCompostionPromptSchema":{"type":"object","properties":{"positive_global_styles":{"type":"array","items":{"type":"string"},"description":"The styles and musical directions that **should be present** in the entire song."},"negative_global_styles":{"type":"array","items":{"type":"string"},"description":"The styles and musical directions that **should not be present** in the entire song."},"sections":{"type":"array","items":{"type":"object","properties":{"section_name":{"type":"string","minLength":1,"maxLength":100,"description":"The name of the section."},"positive_local_styles":{"type":"array","items":{"type":"string"},"description":"The styles and musical directions that **should be present** in this section."},"negative_local_styles":{"type":"array","items":{"type":"string"},"description":"The styles and musical directions that **should not be present** in this section."},"duration_ms":{"type":"number","minimum":3000,"maximum":120000,"description":"The duration of the chunk in milliseconds."},"lines":{"maxItems":30,"type":"array","items":{"type":"string","maxLength":300},"description":"The lyrics of the section. Max 30 lines per section and max 200 characters per line."},"source_from":{"nullable":true,"type":"object","properties":{"negative_ranges":{"type":"object","properties":{"start_ms":{"type":"number"},"end_ms":{"type":"number"}},"required":["start_ms","end_ms"],"description":"The ranges to exclude from the 'range'."},"song_id":{"type":"string","minLength":1,"maxLength":100,"description":"The ID of the song to source the chunk from."},"range":{"type":"object","properties":{"start_ms":{"type":"number"},"end_ms":{"type":"number"}},"required":["start_ms","end_ms"],"description":"The time range to extract from the song."}},"required":["negative_ranges","song_id","range"]}},"required":["section_name","positive_local_styles","negative_local_styles","duration_ms","lines"]}}},"required":["positive_global_styles","negative_global_styles","sections"],"title":"MusicCompostionPrompt","description":"Composition plan for the `music_v1` model. Using this field with any other model will result in an error."},"ElevenLabsMusicCompositionPlanSchema":{"type":"object","properties":{"chunks":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/ElevenLabsMusicCompositionGenerationChunk"},{"$ref":"#/components/schemas/ElevenLabsMusicAudioRefSchema"}]}}},"required":["chunks"],"title":"MusicCompositionPlan","description":"Composition plan for the `music_v2` and `music_v2_5` models. Using this field with any other model will result in an error."},"ElevenLabsMusicCompositionGenerationChunk":{"type":"object","properties":{"text":{"type":"string","maxLength":6132,"description":"The text config to be generated for this chunk. Can contain an optional section name in square brackets at the beginning, e.g. [Verse 1], lyrics lines, and inline directions in curly braces, e.g. {scratching}.Section names must be between 1 and 100 characters. At most 30 lines are allowed, each at most 200 characters."},"duration_ms":{"type":"number","minimum":3000,"maximum":120000,"description":"The duration of the chunk in milliseconds. Must be between `3000ms` and `120000ms`."},"positive_styles":{"type":"array","items":{"type":"string"},"description":"The styles and musical directions that should be present in this chunk. Use English language for best results. \nThe styles for the first chunk are the most important as they set the overall tone and genre. Styles for subsequent chunks can be used to add nuance, progression, emphasis, or change the direction of the song. Aim to have at least 6-7 styles in early chunks until the direction is established. Generic styles like `great production quality` are good default styles to append to the list."},"negative_styles":{"type":"array","items":{"type":"string"},"description":"The styles and musical directions that should not be present in this chunk.\nLeaving empty is a good default, only use this field if you want to explicitly avoid a particular style or direction."},"context_adherence":{"description":"How much the model adheres to the context of its surrounding chunks. Low adherence means the model can deviate from the context and be more creative. High adherence means the model will be more consistent with the context.","type":"string","enum":["low","medium","high"]},"conditioning_ref":{"nullable":true,"type":"object","properties":{"song_id":{"type":"string","minLength":1,"maxLength":100,"description":"The ID of the song to source the chunk from."},"range":{"type":"object","properties":{"start_ms":{"type":"number"},"end_ms":{"type":"number"}},"required":["start_ms","end_ms"],"description":"The time range to extract from the song."}},"required":["song_id","range"],"description":"The audio reference to condition the generation on. The first chunk is the most important as it will influence the generation of all subsequent chunks. Thus, if you want to apply conditioning to the entire song, start conditioning from the first chunk."},"condition_strength":{"nullable":true,"type":"string","enum":["low","medium","high","xhigh"],"description":"How strongly the model adheres to the conditioning reference. Low strength means the model will be more creative and deviate from the reference. High strength means the model will be more consistent with the reference."}},"required":["text","duration_ms","positive_styles"],"title":"MusicCompositionGenerationChunk"},"ElevenLabsMusicAudioRefSchema":{"type":"object","properties":{"song_id":{"type":"string","minLength":1,"maxLength":100,"description":"The ID of the song to source the chunk from."},"range":{"type":"object","properties":{"start_ms":{"type":"number"},"end_ms":{"type":"number"}},"required":["start_ms","end_ms"],"description":"The time range to extract from the song."}},"required":["song_id","range"],"title":"MusicAudioRef"},"FileBuffer":{"description":"File as a binary buffer. Only used for multipart/form-data.","type":"string","contentEncoding":"binary","format":"binary"},"ElevenLabsSpeechToSpeech":{"type":"object","properties":{"voice_id":{"type":"string","description":"ID of the voice to be used. Use the [`GET` Voices](#tag/elevenlabs/GET/elevenlabs/get_voices) voices endpoint list all the available voices."},"output_format":{"allOf":[{"$ref":"#/components/schemas/ElevenLabsOutputFormat"}]},"seed":{"description":"If specified, the system attempts to sample deterministically. Determinism is not guaranteed. Must be integer between `0` and `4294967295`.","nullable":true,"type":"integer","minimum":0,"maximum":2147483647},"model_id":{"type":"string","description":"Identifier of the model that will be used. Use the [`GET` Models](#tag/elevenlabs/GET/elevenlabs/get_models) to list all the available models. And see:\n - **`can_do_text_to_speech`** for `text_to_speech`/`text_to_dialogue`\n - **`can_do_voice_conversion`** for `speech_to_speech`"},"voice_settings":{"allOf":[{"$ref":"#/components/schemas/ElevenLabsVoiceSetting"}]},"remove_background_noise":{"description":"Whether to remove background noise from the input audio. This can help improve the quality of the output audio, especially if the input audio is noisy.","type":"boolean"},"file_format":{"description":"The format of input audio. For `pcm_s16le_16`, the input audio must be 16-bit PCM at a 16kHz sample rate, single channel (mono), and little-endian byte order. ","type":"string","enum":["pcm_s16le_16","other"]}},"required":["voice_id"]},"ElevenLabsVoiceSetting":{"type":"object","properties":{"stability":{"description":"Determines how stable the voice is and the randomness between each generation.","nullable":true,"type":"number","minimum":0,"maximum":1},"use_speaker_boost":{"description":"Whether to boost the speaker's voice. This can make the voice sound louder and more prominent in the audio.","nullable":true,"type":"boolean"},"similarity_boost":{"description":"Determines how closely the AI should adhere to the original voice when attempting to replicate it.","nullable":true,"type":"number","minimum":0,"maximum":1},"style":{"description":"Determines the style exaggeration of the voice.This setting attempts to amplify the style of the original speaker. It does consume additional computational resources and might increase latency if set to anything other than 0.","nullable":true,"type":"number"},"speed":{"description":"Adjusts the speed of the voice. A value of 1.0 is the default speed, while values less than 1.0 slow down the speech, and values greater than 1.0 speed it up.","nullable":true,"type":"number"}},"description":"The voice settings for the generated audio."},"ElevenLabsTextToDialogue":{"type":"object","properties":{"output_format":{"description":"The audio format of the output.","allOf":[{"$ref":"#/components/schemas/ElevenLabsOutputFormat"}]},"inputs":{"type":"array","items":{"type":"object","properties":{"text":{"type":"string"},"voice_id":{"type":"string","description":"ID of the voice to be used. Use the [`GET` Voices](#tag/elevenlabs/GET/elevenlabs/get_voices) voices endpoint list all the available voices."}},"required":["text","voice_id"],"description":"A list of dialogue inputs, each containing text and a voice ID which will be converted into speech. See [here](https://elevenlabs.io/docs/api-reference/text-to-dialogue/convert#request.body.inputs) for more details."}},"model_id":{"type":"string","description":"Identifier of the model that will be used. Use the [`GET` Models](#tag/elevenlabs/GET/elevenlabs/get_models) to list all the available models. And see:\n - **`can_do_text_to_speech`** for `text_to_speech`/`text_to_dialogue`\n - **`can_do_voice_conversion`** for `speech_to_speech`"},"settings":{"description":"The voice settings to use for the conversion.","nullable":true,"type":"object","properties":{"stability":{"description":"Determines how stable the voice is and the randomness between each generation.","nullable":true,"type":"number","minimum":0,"maximum":1}}},"language_code":{"description":"Language code (ISO 639-1) used to enforce a language for the model and text normalization.","nullable":true,"type":"string"},"apply_text_normalization":{"description":"Whether to apply text normalization to the input text.","type":"string","enum":["auto","on","off"]},"seed":{"description":"If specified, the system attempts to sample deterministically. Determinism is not guaranteed. Must be integer between `0` and `4294967295`.","nullable":true,"type":"integer","minimum":0,"maximum":2147483647}},"required":["inputs"]},"ElevenLabsTextToSpeech":{"type":"object","properties":{"text":{"type":"string","description":"The text that will get converted into speech."},"voice_id":{"type":"string","description":"ID of the voice to be used. Use the [`GET` Voices](#tag/elevenlabs/GET/elevenlabs/get_voices) voices endpoint list all the available voices."},"model_id":{"type":"string","description":"Identifier of the model that will be used. Use the [`GET` Models](#tag/elevenlabs/GET/elevenlabs/get_models) to list all the available models. And see:\n - **`can_do_text_to_speech`** for `text_to_speech`/`text_to_dialogue`\n - **`can_do_voice_conversion`** for `speech_to_speech`"},"output_format":{"description":"The audio format of the output.","allOf":[{"$ref":"#/components/schemas/ElevenLabsOutputFormat"}]},"language_code":{"description":"The language code of the text. If not specified, the system will attempt to auto-detect the language.","nullable":true,"type":"string"},"voice_settings":{"description":"The voice settings to use for the conversion.","nullable":true,"allOf":[{"$ref":"#/components/schemas/ElevenLabsVoiceSetting"}]},"seed":{"description":"If specified, the system attempts to sample deterministically. Determinism is not guaranteed. Must be integer between `0` and `4294967295`.","nullable":true,"type":"integer","minimum":0,"maximum":2147483647},"previous_text":{"description":"The text that came before the text of the current request.","nullable":true,"type":"string"},"next_text":{"description":"The text that comes after the text of the current request.","nullable":true,"type":"string"},"apply_text_normalization":{"description":"Whether to apply text normalization to the input text.","type":"string","enum":["auto","on","off"]},"apply_language_text_normalization":{"description":"This parameter controls language text normalization. This helps with proper pronunciation of text in some supported languages. Currently only supported for `Japanese`.","type":"boolean"}},"required":["text","voice_id"]},"MTXxRequest":{"type":"object","properties":{"init_image":{"$ref":"#/components/schemas/SharedImageSchema"},"sync_timeout":{"type":"number","minimum":-1,"maximum":60,"description":"**Synchronized waiting timeout (seconds).**\n\n`-1` means no waiting, the API returns immediately. Default `30`.\n\n> [!tip]\n > It is recommended to use the Task Query","example":30}},"required":["init_image","sync_timeout"]},"SharedImageSchema":{"anyOf":[{"title":"url","type":"string","format":"uri"},{"title":"base64","type":"string","format":"base64","contentEncoding":"base64","pattern":"^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$"}],"description":"The URL or base64 string of the image to be used as the initial image.","example":"https://assets.itsrose.my.id/public-resource/girl-in-red-dress.jpg"},"MTXxOutpaintingBaseRequest":{"type":"object","properties":{"seed":{"description":"Controls the randomness of the generation. Use a fixed value to reproduce the same result across requests. Set to `-1` to use a random seed on each request.","type":"integer","minimum":-1,"maximum":65535},"extra_prompt":{"description":"Supplementary text prompt to guide the outpainting generation. Only English is supported. Separate multiple prompt keywords with a comma (`,`).","type":"string"},"high_quality_encode":{"description":"When `true`, the output image is encoded with high-quality, low-compression settings, producing larger file sizes but preserving finer details and reducing artifacts.","type":"boolean"},"init_image":{"$ref":"#/components/schemas/SharedImageSchema"},"sync_timeout":{"type":"number","minimum":-1,"maximum":60,"description":"**Synchronized waiting timeout (seconds).**\n\n`-1` means no waiting, the API returns immediately. Default `30`.\n\n> [!tip]\n > It is recommended to use the Task Query","example":30}},"required":["init_image","sync_timeout"]},"ElevenLabsModels":{"type":"object","properties":{"models":{"type":"array","items":{"type":"object","properties":{"model_id":{"type":"string"},"name":{"type":"string"},"can_be_finetuned":{"type":"boolean"},"can_do_text_to_speech":{"type":"boolean"},"can_do_voice_conversion":{"type":"boolean"},"can_use_style":{"type":"boolean"},"can_use_speaker_boost":{"type":"boolean"},"serves_pro_voices":{"type":"boolean"},"token_cost_factor":{"type":"number"},"description":{"type":"string"},"requires_alpha_access":{"type":"boolean"},"max_characters_request_free_user":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"max_characters_request_subscribed_user":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"maximum_text_length_per_request":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"languages":{"type":"array","items":{"type":"object","properties":{"language_id":{"type":"string"},"name":{"type":"string"}},"required":["language_id","name"],"additionalProperties":false}},"model_rates":{"type":"object","properties":{"character_cost_multiplier":{"type":"number"},"cost_discount_multiplier":{"type":"number"}},"required":["character_cost_multiplier","cost_discount_multiplier"],"additionalProperties":false},"concurrency_group":{"type":"string"}},"required":["model_id","name","can_be_finetuned","can_do_text_to_speech","can_do_voice_conversion","can_use_style","can_use_speaker_boost","serves_pro_voices","token_cost_factor","description","requires_alpha_access","max_characters_request_free_user","max_characters_request_subscribed_user","maximum_text_length_per_request","languages","model_rates","concurrency_group"],"additionalProperties":false},"description":"List of available models"}},"required":["models"],"additionalProperties":false},"ElevenLabsVoices":{"type":"object","properties":{"voices":{"type":"array","items":{"type":"object","properties":{"voice_id":{"type":"string","description":"Unique identifier for the voice."},"name":{"type":"string","description":"Display name of the voice."},"samples":{"description":"Audio samples associated with this voice.","nullable":true,"type":"array","items":{"type":"object","properties":{"sample_id":{"description":"The ID of the sample.","type":"string"},"file_name":{"description":"The name of the sample file.","type":"string"},"mime_type":{"description":"The MIME type of the sample file.","type":"string"},"size_bytes":{"description":"The size of the sample file in bytes.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"hash":{"description":"The hash of the sample file.","type":"string"},"duration_secs":{"description":"The duration of the sample file in seconds.","nullable":true,"type":"number"},"remove_background_noise":{"description":"Whether background noise was removed from the sample.","nullable":true,"type":"boolean"},"has_isolated_audio":{"description":"Whether the sample has isolated audio.","nullable":true,"type":"boolean"},"has_isolated_audio_preview":{"description":"Whether the sample has an isolated audio preview.","nullable":true,"type":"boolean"},"speaker_separation":{"description":"The speaker separation of the sample.","nullable":true,"type":"object","properties":{"voice_id":{"description":"The ID of the voice.","type":"string"},"sample_id":{"description":"The ID of the sample.","type":"string"},"status":{"description":"The status of the speaker separation.","type":"string","enum":["not_started","pending","completed","failed"]},"speakers":{"description":"The speakers of the sample.","nullable":true,"type":"object","additionalProperties":{}},"selected_speaker_ids":{"description":"The IDs of the selected speakers.","nullable":true,"type":"array","items":{"type":"string"}}},"additionalProperties":{}},"trim_start":{"description":"The start of the trimmed range, in milliseconds.","nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"trim_end":{"description":"The end of the trimmed range, in milliseconds.","nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":{}}},"category":{"nullable":true,"description":"Category of the voice.","type":"string","enum":["generated","cloned","premade","professional","famous","high_quality"]},"fine_tuning":{"nullable":true,"description":"Fine-tuning status and configuration for this voice.","type":"object","properties":{"is_allowed_to_fine_tune":{"description":"Whether the user may fine-tune the voice.","type":"boolean"},"state":{"description":"The state of the fine-tuning, per model.","type":"object","additionalProperties":{"type":"string","enum":["not_started","queued","fine_tuning","fine_tuned","failed","delayed"]}},"verification_failures":{"description":"The verification failures of the fine-tuning.","type":"array","items":{"type":"string"}},"verification_attempts_count":{"description":"The number of verification attempts.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"manual_verification_requested":{"description":"Whether a manual verification was requested.","type":"boolean"},"language":{"description":"The language of the fine-tuning.","nullable":true,"type":"string"},"progress":{"description":"The progress of the fine-tuning, per model.","nullable":true,"type":"object","additionalProperties":{"type":"number"}},"message":{"description":"The message of the fine-tuning, per model.","nullable":true,"type":"object","additionalProperties":{"type":"string"}},"dataset_duration_seconds":{"description":"The duration of the dataset in seconds.","nullable":true,"type":"number"},"verification_attempts":{"description":"The verification attempts of the fine-tuning.","nullable":true,"type":"array","items":{"type":"object","properties":{"text":{"description":"The text of the attempt.","type":"string"},"date_unix":{"description":"The date of the attempt in Unix time.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"accepted":{"description":"Whether the verification attempt was accepted.","type":"boolean"},"similarity":{"description":"The similarity of the verification attempt.","type":"number"},"levenshtein_distance":{"description":"The Levenshtein distance of the verification attempt.","type":"number"},"recording":{"description":"The recording of the verification attempt.","nullable":true,"type":"object","additionalProperties":{}}},"additionalProperties":{}}},"slice_ids":{"description":"The IDs of the slices of the fine-tuning.","nullable":true,"type":"array","items":{"type":"string"}},"manual_verification":{"description":"The manual verification of the fine-tuning.","nullable":true,"type":"object","properties":{"extra_text":{"description":"The extra text of the manual verification.","type":"string"},"request_time_unix":{"description":"The date of the manual verification in Unix time.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"files":{"description":"The files of the manual verification.","type":"array","items":{"type":"object","additionalProperties":{}}}},"additionalProperties":{}},"max_verification_attempts":{"description":"The maximum number of verification attempts.","nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"next_max_verification_attempts_reset_unix_ms":{"description":"When the verification attempt counter resets, in Unix milliseconds.","nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"additionalProperties":{}},"labels":{"type":"object","additionalProperties":{"type":"string"},"description":"Arbitrary key-value labels attached to the voice."},"description":{"nullable":true,"description":"Human-readable description of the voice.","type":"string"},"preview_url":{"nullable":true,"description":"URL to a short audio preview of the voice.","type":"string"},"available_for_tiers":{"type":"array","items":{"type":"string"},"description":"Subscription tiers that have access to this voice."},"settings":{"nullable":true,"description":"Default generation settings for this voice.","type":"object","properties":{"stability":{"description":"The stability of the voice, between 0 and 1.","nullable":true,"type":"number"},"use_speaker_boost":{"description":"Whether the speaker boost is applied.","nullable":true,"type":"boolean"},"similarity_boost":{"description":"The similarity boost of the voice, between 0 and 1.","nullable":true,"type":"number"},"style":{"description":"The style exaggeration.","nullable":true,"type":"number"},"speed":{"description":"The speed of the voice.","nullable":true,"type":"number"},"clone_strength":{"description":"The clone strength of the voice, between 0 and 1.","nullable":true,"type":"number"}},"additionalProperties":{}},"sharing":{"nullable":true,"description":"Sharing configuration if the voice is published to the library.","type":"object","properties":{"status":{"description":"The sharing status of the voice.","type":"string","enum":["enabled","disabled","copied","copied_disabled"]},"history_item_sample_id":{"description":"The sample ID of the sharing history item.","nullable":true,"type":"string"},"date_unix":{"description":"When the voice was shared, in Unix time.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"whitelisted_emails":{"description":"The emails allowed to use the voice.","type":"array","items":{"type":"string"}},"public_owner_id":{"description":"The ID of the public owner.","type":"string"},"original_voice_id":{"description":"The ID of the original voice.","type":"string"},"financial_rewards_enabled":{"description":"Whether financial rewards are enabled.","type":"boolean"},"free_users_allowed":{"description":"Whether free users may use the voice.","type":"boolean"},"live_moderation_enabled":{"description":"Whether live moderation is enabled.","type":"boolean"},"rate":{"description":"The rate of the sharing.","nullable":true,"type":"number"},"fiat_rate":{"description":"The rate of the sharing in USD per 1000 credits.","nullable":true,"type":"number"},"notice_period":{"description":"The notice period of the sharing, in days.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"disable_at_unix":{"description":"When the voice leaves the library, in Unix time.","nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"voice_mixing_allowed":{"description":"Whether the voice may be mixed.","type":"boolean"},"featured":{"description":"Whether the voice is featured.","type":"boolean"},"category":{"description":"The category of the voice.","type":"string"},"reader_app_enabled":{"description":"Whether the voice is enabled in the reader app.","nullable":true,"type":"boolean"},"image_url":{"description":"The image URL of the voice.","nullable":true,"type":"string"},"ban_reason":{"description":"The ban reason of the voice.","nullable":true,"type":"string"},"liked_by_count":{"description":"The number of likes of the voice.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cloned_by_count":{"description":"The number of clones of the voice.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"name":{"description":"The name of the voice.","type":"string"},"description":{"description":"The description of the voice.","nullable":true,"type":"string"},"labels":{"description":"The labels of the voice.","type":"object","additionalProperties":{"type":"string"}},"review_status":{"description":"The review status of the voice.","type":"string"},"review_message":{"description":"The review message of the voice.","nullable":true,"type":"string"},"enabled_in_library":{"description":"Whether the voice is enabled in the library.","type":"boolean"},"instagram_username":{"description":"The Instagram username of the voice owner.","nullable":true,"type":"string"},"twitter_username":{"description":"The Twitter/X username of the voice owner.","nullable":true,"type":"string"},"youtube_username":{"description":"The YouTube username of the voice owner.","nullable":true,"type":"string"},"tiktok_username":{"description":"The TikTok username of the voice owner.","nullable":true,"type":"string"},"moderation_check":{"description":"The moderation check of the sharing.","nullable":true,"type":"object","properties":{"date_checked_unix":{"description":"When the moderation check ran, in Unix time.","nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"name_value":{"description":"The name value of the voice.","nullable":true,"type":"string"},"name_check":{"description":"Whether the name check passed.","nullable":true,"type":"boolean"},"description_value":{"description":"The description value of the voice.","nullable":true,"type":"string"},"description_check":{"description":"Whether the description check passed.","nullable":true,"type":"boolean"},"sample_ids":{"description":"The IDs of the checked samples.","nullable":true,"type":"array","items":{"type":"string"}},"sample_checks":{"description":"The checks of the samples.","nullable":true,"type":"array","items":{"type":"number"}},"captcha_ids":{"description":"The IDs of the checked CAPTCHAs.","nullable":true,"type":"array","items":{"type":"string"}},"captcha_checks":{"description":"The checks of the CAPTCHAs.","nullable":true,"type":"array","items":{"type":"number"}}},"additionalProperties":{}},"reader_restricted_on":{"description":"The resources the reader restricts the voice on.","nullable":true,"type":"array","items":{"type":"object","additionalProperties":{}}}},"additionalProperties":{}},"high_quality_base_model_ids":{"type":"array","items":{"type":"string"},"description":"Model IDs for which high-quality audio is available."},"verified_languages":{"nullable":true,"description":"Languages that have been verified for this voice.","type":"array","items":{"type":"object","properties":{"language":{"description":"The language of the voice.","type":"string"},"model_id":{"description":"The model ID of the voice.","type":"string"},"accent":{"description":"The accent of the voice, if any.","nullable":true,"type":"string"},"locale":{"description":"The locale of the voice, if any.","nullable":true,"type":"string"},"preview_url":{"description":"The preview URL of the voice, if any.","nullable":true,"type":"string"}},"additionalProperties":{}}},"collection_ids":{"description":"IDs of collections this voice belongs to.","nullable":true,"type":"array","items":{"type":"string"}},"safety_control":{"description":"Safety control level applied to this voice.","nullable":true,"type":"string","enum":["NONE","BAN","CAPTCHA","CAPTCHA_AND_MODERATION","ENTERPRISE_BAN","ENTERPRISE_CAPTCHA"]},"voice_verification":{"nullable":true,"description":"Verification state and history for this voice.","type":"object","properties":{"requires_verification":{"description":"Whether the voice requires verification.","type":"boolean"},"is_verified":{"description":"Whether the voice is verified.","type":"boolean"},"verification_failures":{"description":"The verification failures of the voice.","type":"array","items":{"type":"string"}},"verification_attempts_count":{"description":"The number of verification attempts.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"language":{"description":"The language of the verification.","nullable":true,"type":"string"},"verification_attempts":{"description":"The verification attempts of the voice.","nullable":true,"type":"array","items":{"type":"object","properties":{"text":{"description":"The text of the attempt.","type":"string"},"date_unix":{"description":"The date of the attempt in Unix time.","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"accepted":{"description":"Whether the verification attempt was accepted.","type":"boolean"},"similarity":{"description":"The similarity of the verification attempt.","type":"number"},"levenshtein_distance":{"description":"The Levenshtein distance of the verification attempt.","type":"number"},"recording":{"description":"The recording of the verification attempt.","nullable":true,"type":"object","additionalProperties":{}}},"additionalProperties":{}}}},"additionalProperties":{}},"permission_on_resource":{"description":"Permission level the current user has on this voice.","nullable":true,"type":"string"},"is_owner":{"nullable":true,"description":"Whether the current user owns this voice.","type":"boolean"},"is_legacy":{"nullable":true,"description":"Whether this is a legacy voice from a prior system.","type":"boolean"},"is_mixed":{"nullable":true,"description":"Whether this voice was created by mixing other voices.","type":"boolean"},"favorited_at_unix":{"description":"Unix timestamp of when the user favorited this voice.","nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"created_at_unix":{"description":"Unix timestamp of when the voice was created.","nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"is_bookmarked":{"description":"Whether the user has bookmarked this voice.","nullable":true,"type":"boolean"},"recording_quality":{"description":"Assessed quality level of the voice recordings.","nullable":true,"type":"string","enum":["studio","high","medium","low","good","ok","poor","bad"]},"labelling_status":{"description":"Status of the voice labelling process.","nullable":true,"type":"string","enum":["in_review","labelled","unlabelled","review_complete"]},"recording_quality_reason":{"description":"Explanation for the assigned recording quality level.","nullable":true,"type":"string"}},"required":["voice_id","name","category","fine_tuning","labels","description","preview_url","available_for_tiers","settings","sharing","high_quality_base_model_ids","verified_languages","voice_verification","is_owner","is_legacy","is_mixed"],"additionalProperties":false},"description":"The list of voices matching the query."},"has_more":{"nullable":true,"type":"boolean","description":"Whether more voices are available in subsequent pages. Use with next_page_token for reliable pagination."},"total_count":{"nullable":true,"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Total number of voices matching the query. This is a live snapshot and may change between requests; prefer has_more for pagination."},"next_page_token":{"description":"Token to pass to the next request to retrieve the next page. Null when no more results exist.","nullable":true,"type":"string"}},"required":["voices"],"additionalProperties":false},"ElevenLabsData":{"type":"object","properties":{"audio":{"type":"string","description":"Base64-encoded audio data or url; depends on `response-audio-format` header."}},"required":["audio"],"additionalProperties":false},"ElevenLabsAlignmentSchema":{"type":"object","properties":{"characters":{"type":"array","items":{"type":"string"},"description":"List of strings"},"character_start_times_seconds":{"type":"array","items":{"type":"number"},"description":"List of doubles"},"character_end_times_seconds":{"type":"array","items":{"type":"number"},"description":"List of doubles"}},"required":["characters","character_start_times_seconds","character_end_times_seconds"],"additionalProperties":false,"description":"Character-level timing information."},"CaiCharacterInfoSchema":{"type":"object","properties":{"external_id":{"type":"string","description":"The character external id used for chat with character."},"title":{"type":"string","description":"Given title from their creator for this character."},"avatar_url":{"default":null,"description":"Character avatar url if any.","nullable":true,"type":"string"},"tag":{"description":"Single character tag.","type":"string"},"description":{"type":"string"},"greeting":{"type":"string","description":"This is the greeting prompt that have been set from the character creator."},"primary_language":{"default":"OTHER","description":"Primary language for the character.","type":"string"},"is_licensed_professional":{"type":"boolean","description":"Is this character have professional license."},"creator":{"type":"object","properties":{"user_id":{"nullable":true,"anyOf":[{"type":"string"},{"type":"number"}],"description":"Creator user id."},"user__username":{"type":"string","description":"Creator username."},"participant__name":{"type":"string","description":"Creator name (in their profile)"}},"additionalProperties":false,"description":"Additional details about character creator if any."},"metadata":{"type":"object","properties":{"num_likes":{"type":"number","description":"Number of likes."},"num_chats":{"type":"number","description":"Number of chats."},"participant__num_interactions":{"type":"number","description":"Number of interactions"}},"additionalProperties":false,"description":"Character metadata if any."}},"required":["external_id","title","avatar_url","description","greeting","primary_language","is_licensed_professional","creator","metadata"],"additionalProperties":false,"description":"Character info schema"},"MTXxResponse":{"type":"object","properties":{"status":{"type":"string","enum":["not_started","in_progress","completed","failed"],"description":"Task status"},"task_id":{"type":"string","description":"Task Unique Identifier"},"media_list":{"type":"array","items":{"type":"string"},"description":"Output media list"}},"required":["status","task_id","media_list"],"additionalProperties":{},"description":"The response schema for MTXx API."},"ElevenLabsMusicCompostionPromptSchemaOutput":{"type":"object","properties":{"positive_global_styles":{"type":"array","items":{"type":"string"},"description":"The styles and musical directions that **should be present** in the entire song."},"negative_global_styles":{"type":"array","items":{"type":"string"},"description":"The styles and musical directions that **should not be present** in the entire song."},"sections":{"type":"array","items":{"type":"object","properties":{"section_name":{"type":"string","minLength":1,"maxLength":100,"description":"The name of the section."},"positive_local_styles":{"type":"array","items":{"type":"string"},"description":"The styles and musical directions that **should be present** in this section."},"negative_local_styles":{"type":"array","items":{"type":"string"},"description":"The styles and musical directions that **should not be present** in this section."},"duration_ms":{"type":"number","minimum":3000,"maximum":120000,"description":"The duration of the chunk in milliseconds."},"lines":{"maxItems":30,"type":"array","items":{"type":"string","maxLength":300},"description":"The lyrics of the section. Max 30 lines per section and max 200 characters per line."},"source_from":{"nullable":true,"type":"object","properties":{"negative_ranges":{"type":"object","properties":{"start_ms":{"type":"number"},"end_ms":{"type":"number"}},"required":["start_ms","end_ms"],"additionalProperties":false,"description":"The ranges to exclude from the 'range'."},"song_id":{"type":"string","minLength":1,"maxLength":100,"description":"The ID of the song to source the chunk from."},"range":{"type":"object","properties":{"start_ms":{"type":"number"},"end_ms":{"type":"number"}},"required":["start_ms","end_ms"],"additionalProperties":false,"description":"The time range to extract from the song."}},"required":["negative_ranges","song_id","range"],"additionalProperties":false}},"required":["section_name","positive_local_styles","negative_local_styles","duration_ms","lines"],"additionalProperties":false}}},"required":["positive_global_styles","negative_global_styles","sections"],"additionalProperties":false,"title":"MusicCompostionPrompt","description":"Composition plan for the `music_v1` model. Using this field with any other model will result in an error."},"ElevenLabsMusicCompositionPlanSchemaOutput":{"type":"object","properties":{"chunks":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/ElevenLabsMusicCompositionGenerationChunkOutput"},{"$ref":"#/components/schemas/ElevenLabsMusicAudioRefSchemaOutput"}]}}},"required":["chunks"],"additionalProperties":false,"title":"MusicCompositionPlan","description":"Composition plan for the `music_v2` and `music_v2_5` models. Using this field with any other model will result in an error."},"ElevenLabsMusicCompositionGenerationChunkOutput":{"type":"object","properties":{"text":{"type":"string","maxLength":6132,"description":"The text config to be generated for this chunk. Can contain an optional section name in square brackets at the beginning, e.g. [Verse 1], lyrics lines, and inline directions in curly braces, e.g. {scratching}.Section names must be between 1 and 100 characters. At most 30 lines are allowed, each at most 200 characters."},"duration_ms":{"type":"number","minimum":3000,"maximum":120000,"description":"The duration of the chunk in milliseconds. Must be between `3000ms` and `120000ms`."},"positive_styles":{"type":"array","items":{"type":"string"},"description":"The styles and musical directions that should be present in this chunk. Use English language for best results. \nThe styles for the first chunk are the most important as they set the overall tone and genre. Styles for subsequent chunks can be used to add nuance, progression, emphasis, or change the direction of the song. Aim to have at least 6-7 styles in early chunks until the direction is established. Generic styles like `great production quality` are good default styles to append to the list."},"negative_styles":{"type":"array","items":{"type":"string"},"description":"The styles and musical directions that should not be present in this chunk.\nLeaving empty is a good default, only use this field if you want to explicitly avoid a particular style or direction."},"context_adherence":{"description":"How much the model adheres to the context of its surrounding chunks. Low adherence means the model can deviate from the context and be more creative. High adherence means the model will be more consistent with the context.","type":"string","enum":["low","medium","high"]},"conditioning_ref":{"nullable":true,"type":"object","properties":{"song_id":{"type":"string","minLength":1,"maxLength":100,"description":"The ID of the song to source the chunk from."},"range":{"type":"object","properties":{"start_ms":{"type":"number"},"end_ms":{"type":"number"}},"required":["start_ms","end_ms"],"additionalProperties":false,"description":"The time range to extract from the song."}},"required":["song_id","range"],"additionalProperties":false,"description":"The audio reference to condition the generation on. The first chunk is the most important as it will influence the generation of all subsequent chunks. Thus, if you want to apply conditioning to the entire song, start conditioning from the first chunk."},"condition_strength":{"nullable":true,"type":"string","enum":["low","medium","high","xhigh"],"description":"How strongly the model adheres to the conditioning reference. Low strength means the model will be more creative and deviate from the reference. High strength means the model will be more consistent with the reference."}},"required":["text","duration_ms","positive_styles"],"additionalProperties":false,"title":"MusicCompositionGenerationChunk"},"ElevenLabsMusicAudioRefSchemaOutput":{"type":"object","properties":{"song_id":{"type":"string","minLength":1,"maxLength":100,"description":"The ID of the song to source the chunk from."},"range":{"type":"object","properties":{"start_ms":{"type":"number"},"end_ms":{"type":"number"}},"required":["start_ms","end_ms"],"additionalProperties":false,"description":"The time range to extract from the song."}},"required":["song_id","range"],"additionalProperties":false,"title":"MusicAudioRef"},"FailureSchema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[false],"title":"Failure indicator","description":"Indicates that the response represents a failed operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the failure status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"type":"string","nullable":true,"enum":[null],"title":"No data on failure responses","description":"The data field is always null for failure responses."},"errors":{"default":{},"title":"Error details","description":"The errors field contains details about the failure. It is optional and may be omitted if no additional error information is provided.","type":"object","additionalProperties":{}},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false,"description":"Representing a failed response.","title":"Failure Response Schema"}}},"paths":{"/hooks":{"post":{"tags":["General"],"description":"Receive a webhook from an external service","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":{},"description":"Webhook payload"}}},"description":"Webhook payload"},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"type":"object","properties":{"ok":{"type":"boolean"}},"required":["ok"],"additionalProperties":false,"description":"Empty response"},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/status":{"get":{"tags":["General"],"description":"Check if the service is up and running","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"type":"object","properties":{"status":{"type":"string","description":"The status of the service, expected to be 'ok'"}},"required":["status"],"additionalProperties":false},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/me":{"get":{"tags":["General"],"description":"Get your information.","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"type":"object","properties":{"apikey":{"type":"object","additionalProperties":{}},"subscription":{"type":"object","additionalProperties":{}}},"required":["apikey","subscription"],"additionalProperties":false},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/audio/create_clone_voice":{"post":{"summary":"Create Clone Voice","tags":["Audio"],"description":"Create a voice clone","requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ElevenLabsCreateIVCVoice"}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"type":"object","properties":{"voice_id":{"type":"string","description":"The unique identifier for the created voice."},"requires_verification":{"type":"boolean","description":"Whether the voice requires verification"}},"required":["voice_id","requires_verification"],"additionalProperties":false},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/audio/voices/{voice_id}":{"delete":{"summary":"Delete Voice","tags":["Audio"],"description":"Delete a voice the caller owns","parameters":[{"schema":{"type":"string","minLength":1,"description":"The id of the voice to delete."},"in":"path","name":"voice_id","required":true,"description":"The id of the voice to delete."}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"type":"object","properties":{"deleted":{"type":"boolean","enum":[true],"description":"Whether the voice was deleted."}},"required":["deleted"],"additionalProperties":false},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/audio/get_models":{"get":{"summary":"Get Models","tags":["Audio"],"description":"Get available models","responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"$ref":"#/components/schemas/ElevenLabsModels"},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/audio/get_voices":{"get":{"summary":"Get Voices","tags":["Audio"],"description":"Get available voices","parameters":[{"schema":{"description":"The next page token to use for pagination. Returned from the previous request. Use this in combination with the `has_more` flag for reliable pagination.","nullable":true,"type":"string"},"in":"query","name":"next_page_token"},{"schema":{"description":"How many voices to return at maximum. Can not exceed `100`, defaults to `10`. ","type":"integer","minimum":0,"exclusiveMinimum":true,"maximum":100},"in":"query","name":"page_size"},{"schema":{"description":"Search term to filter voices by. Searches in `name`, `description`, `labels` and `category`.","nullable":true,"type":"string"},"in":"query","name":"search"},{"schema":{"description":"Sort order of the returned voices.","nullable":true,"type":"string","enum":["name","created_at_unix"]},"in":"query","name":"sort"},{"schema":{"description":"Direction of the sorting.","nullable":true,"type":"string","enum":["asc","desc"]},"in":"query","name":"sort_direction"},{"schema":{"description":"Filter voices by type.","nullable":true,"type":"string","enum":["personal","community","default","workspace","non-default","non-community","saved"]},"in":"query","name":"voice_type"},{"schema":{"description":"Category of the voice to filter by.","nullable":true,"type":"string","enum":["premade","cloned","generated","professional"]},"in":"query","name":"category"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"$ref":"#/components/schemas/ElevenLabsVoices"},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/audio/music_compose":{"post":{"summary":"Music compose","tags":["Audio"],"description":"Compose a song from a prompt or a composition plan.","requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"model_id":{"default":"music_v1","type":"string","enum":["music_v1","music_v2","music_v2_5"]},"output_format":{"default":"auto","anyOf":[{"type":"string","enum":["auto"],"description":"Use “auto” (the default) to let the API pick the best format for the selected model","title":"auto"},{"$ref":"#/components/schemas/ElevenLabsOutputFormat"}]},"sign_with_c2pa":{"description":"Whether to sign the generated song with C2PA. Applicable only for mp3 files.","example":false,"type":"boolean"},"with_timestamps":{"default":false,"description":"Whether to return the timestamps of the words in the generated song.","type":"boolean"},"with_waveform_visual":{"default":false,"description":"Whether to return the visual waveform of the generated song.","type":"boolean"}}},{"anyOf":[{"type":"object","properties":{"prompt":{"type":"string","maxLength":4100,"description":"A simple text prompt to generate a song from. Cannot be used in conjunction with `composition_plan`."},"music_length_ms":{"description":"The length of the song to generate in milliseconds. Used only in conjunction with `prompt`.","nullable":true,"type":"number","minimum":3000,"maximum":120000},"force_instrumental":{"description":"If true, guarantees that the generated song will be instrumental. If false, the song may or may not be instrumental depending on the prompt.","example":false,"type":"boolean"}},"required":["prompt"],"title":"Prompt Strategy"},{"type":"object","properties":{"seed":{"description":"Random seed to initialize the music generation process. Cannot be used in conjunction with `prompt`.","nullable":true,"type":"integer","minimum":0,"maximum":2147483647},"composition_plan":{"anyOf":[{"$ref":"#/components/schemas/ElevenLabsMusicCompostionPromptSchema"},{"$ref":"#/components/schemas/ElevenLabsMusicCompositionPlanSchema"}],"description":"A detailed composition plan to guide music generation. Cannot be used in conjunction with `prompt`."},"respect_sections_durations":{"description":"Controls how strictly section durations in the composition_plan are enforced. Only applies to music_v1. For music_v2 and music_v2_5, section durations are always enforced and this field is ignored.","type":"boolean"}},"required":["composition_plan"],"title":"Composition Plan Strategy"}]}]}}}},"parameters":[{"schema":{"default":"base64","description":"By default the audio response format is base64","type":"string","enum":["url","base64"]},"in":"header","name":"response-audio-format","description":"By default the audio response format is base64"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"type":"object","properties":{"audio":{"type":"string","description":"Audio base64"},"composition_plan":{"anyOf":[{"$ref":"#/components/schemas/ElevenLabsMusicCompostionPromptSchemaOutput"},{"$ref":"#/components/schemas/ElevenLabsMusicCompositionPlanSchemaOutput"}]},"song_metadata":{"type":"object","properties":{"description":{"nullable":true,"type":"string"},"genres":{"type":"array","items":{"type":"string"}},"is_explicit":{"nullable":true,"type":"boolean"},"languages":{"type":"array","items":{"type":"string"}},"title":{"nullable":true,"type":"string"}},"required":["genres","languages"],"additionalProperties":false,"description":"Song metadata; `null` or empty if `composition_plan` request passed"},"words_timestamps":{"nullable":true,"type":"array","items":{"type":"object","properties":{"word":{"type":"string","description":"The word."},"start_ms":{"type":"number","description":"When the word starts, in milliseconds."},"end_ms":{"type":"number","description":"When the word ends, in milliseconds."}},"required":["word","start_ms","end_ms"],"additionalProperties":false}},"waveform_visual":{"nullable":true,"type":"array","items":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}}},"required":["audio","composition_plan","song_metadata"],"additionalProperties":false},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/audio/music_compose_plan":{"post":{"summary":"Music composition plan","tags":["Audio"],"description":"Create a composition plan for music generation.","requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"prompt":{"type":"string","description":"A simple text prompt to compose a plan from."},"music_length_ms":{"nullable":true,"type":"number","minimum":3000,"maximum":120000,"description":"The length of the composition plan to generate in milliseconds. \nOptional - if not provided, the model will choose a length based on the prompt."}},"required":["prompt"]},{"oneOf":[{"type":"object","properties":{"model_id":{"type":"string","enum":["music_v1"]},"source_composition_plan":{"example":null,"nullable":true,"allOf":[{"$ref":"#/components/schemas/ElevenLabsMusicCompostionPromptSchema"}]}},"required":["model_id"],"title":"MusicCompositionPrompt"},{"type":"object","properties":{"model_id":{"type":"string","enum":["music_v2","music_v2_5"]},"source_composition_plan":{"example":null,"nullable":true,"allOf":[{"$ref":"#/components/schemas/ElevenLabsMusicCompositionPlanSchema"}]}},"required":["model_id"],"title":"MusicCompositionPlan"}],"type":"object"}]}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"anyOf":[{"$ref":"#/components/schemas/ElevenLabsMusicCompostionPromptSchemaOutput"},{"$ref":"#/components/schemas/ElevenLabsMusicCompositionPlanSchemaOutput"}]},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/audio/speech_to_speech":{"post":{"summary":"Speech to Speech","tags":["Audio"],"description":"Convert speech to speech","requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"audio":{"anyOf":[{"type":"string","format":"uri","description":"Absolute URL to the audio file if not uploading directly"},{"$ref":"#/components/schemas/FileBuffer"}]}},"required":["audio"]},{"$ref":"#/components/schemas/ElevenLabsSpeechToSpeech"}]}},"multipart/form-data":{"schema":{"allOf":[{"type":"object","properties":{"audio":{"anyOf":[{"type":"string","format":"uri","description":"Absolute URL to the audio file if not uploading directly"},{"$ref":"#/components/schemas/FileBuffer"}]}},"required":["audio"]},{"$ref":"#/components/schemas/ElevenLabsSpeechToSpeech"}]}}}},"parameters":[{"schema":{"default":"base64","description":"By default the audio response format is base64","type":"string","enum":["url","base64"]},"in":"header","name":"response-audio-format","description":"By default the audio response format is base64"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"$ref":"#/components/schemas/ElevenLabsData"},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/audio/text_to_dialogue":{"post":{"summary":"Text to Dialogue","tags":["Audio"],"description":"Convert text to dialogue.\n\nExample Output:\n\n- [English](https://assets.itsrose.net/public-resource/text_to_dialogue-output.wav) Three people talking\n- [Indonesian](https://assets.itsrose.net/public-resource/text_to_dialogue-output-ID.wav) Two people talking\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsTextToDialogue"}}}},"parameters":[{"schema":{"default":"base64","description":"By default the audio response format is base64","type":"string","enum":["url","base64"]},"in":"header","name":"response-audio-format","description":"By default the audio response format is base64"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"$ref":"#/components/schemas/ElevenLabsData"},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/audio/text_to_speech":{"post":{"summary":"Text to Speech","tags":["Audio"],"description":"Convert text to speech","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsTextToSpeech"}}}},"parameters":[{"schema":{"default":"base64","description":"By default the audio response format is base64","type":"string","enum":["url","base64"]},"in":"header","name":"response-audio-format","description":"By default the audio response format is base64"}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"$ref":"#/components/schemas/ElevenLabsData"},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/audio/text_to_speech/with_timestamp":{"post":{"summary":"Text to Speech with timing","tags":["Audio"],"description":"Generate speech from text with precise character-level timing information for audio-text synchronization.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElevenLabsTextToSpeech"}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"type":"object","properties":{"alignment":{"$ref":"#/components/schemas/ElevenLabsAlignmentSchema"},"normalized_alignment":{"$ref":"#/components/schemas/ElevenLabsAlignmentSchema"},"audio":{"type":"string","description":"Base64-encoded audio data or url; depends on `response-audio-format` header."}},"required":["alignment","normalized_alignment","audio"],"additionalProperties":false},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/character_ai/search_character":{"get":{"summary":"Search Character","tags":["Character.ai"],"description":"Search for Character.AI characters by name or query keyword","parameters":[{"schema":{"type":"string"},"in":"query","name":"query","required":true}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"type":"object","properties":{"characters":{"type":"array","items":{"$ref":"#/components/schemas/CaiCharacterInfoSchema"}}},"required":["characters"],"additionalProperties":false},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/character_ai/send_message":{"post":{"summary":"Send Message","tags":["Character.ai"],"description":"Send a message to a Character.AI character and receive a response","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"external_id":{"type":"string","description":"Character external id."},"chat_id":{"description":"Chat id used for continue chat.","type":"string"},"message":{"type":"string","description":"Message text sent to character."},"should_ressurect":{"description":"Ressurect past chat if exist","type":"boolean"}},"required":["external_id","message"]}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"type":"object","properties":{"chat_id":{"type":"string","description":"Current chat id with this character."},"candidates":{"type":"array","items":{"type":"object","properties":{"create_time":{"type":"string","description":"Time this reply generated"},"raw_content":{"type":"string","description":"Raw reply content."},"is_final":{"type":"boolean","description":"By default we wait until final reply from character."},"model_type":{"description":"The mode type that used for generating this response.","type":"string"}},"required":["create_time","raw_content","is_final"],"additionalProperties":false},"description":"Character response candidates."},"generation_mode":{"type":"object","additionalProperties":{}},"context_stats":{"type":"object","additionalProperties":{}}},"required":["chat_id","candidates","generation_mode","context_stats"],"additionalProperties":false},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/character_ai/character_info":{"get":{"summary":"Character information","tags":["Character.ai"],"description":"Retrieve Character.AI character information by external ID","parameters":[{"schema":{"type":"string","description":"The character external id used for chat with character."},"in":"query","name":"external_id","required":true,"description":"The character external id used for chat with character."}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"$ref":"#/components/schemas/CaiCharacterInfoSchema"},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/instagram/get_media":{"get":{"summary":"Get Instagram Media","tags":["Instagram","Downloader"],"description":"Get Instagram media details","parameters":[{"schema":{"type":"string","format":"uri","description":"Instagram post/reel url."},"in":"query","name":"url","required":true,"description":"Instagram post/reel url."}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"type":"object","properties":{"media_list":{"type":"array","items":{"type":"object","properties":{"url":{"type":"string","format":"uri","description":"The direct URL to the media file."},"is_video":{"type":"boolean","description":"Indicates whether the media is a video."}},"required":["url","is_video"],"additionalProperties":false},"description":"List of media items."}},"required":["media_list"],"additionalProperties":false},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/mtxx/clothes_segmentation":{"post":{"summary":"Clothes Segmentation","tags":["Mtxx"],"description":"\nGenerate a mask for the clothes in the image.\n\n<details>\n\t<summary>Example</summary>\n\n| Original Image | Segmentation Mask | Segmentation Labels |\n|----------------|--------------------|--------------------|\n| ![Original Image](https://assets.itsrose.net/public-resource/girl-in-red-dress.jpg \"Original Image\") | ![Segmentation Mask](https://assets.itsrose.net/public-resource/girl-in-red-dress_segmentation_mask.jpg \"Segmentation Mask\") | ![Label dress](https://assets.itsrose.net/public-resource/girl-in-red-dress_clothes_segmentation_label_dress.jpg \"Label dress\") |\n| **Original** | **Segmentation Mask** | **Label dress** |\n\n</details>\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MTXxRequest"}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"type":"object","properties":{"segmentation_mask":{"type":"array","items":{"type":"string","format":"uri"},"description":"Array of segmentation mask URLs"},"labels":{"type":"array","items":{"type":"object","properties":{"label":{"type":"string","enum":["background","headpiece","hair","gloves","glasses","top","dress","coat","socks","pants","skin","scarf etc.","skirt","face","shoes","bag","accessories","jumpsuit","mannequin_stand"],"description":"Possible labels for segmented clothing items"},"n_label":{"type":"string","description":"Numeric label for the segmented clothing item"},"url":{"type":"string","format":"uri","description":"URL of the segmented clothing item"}},"required":["label","n_label","url"],"additionalProperties":false},"description":"Array of segmented clothing items"}},"required":["segmentation_mask","labels"],"additionalProperties":{}},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/mtxx/expression_generation":{"post":{"summary":"Expression Generation","tags":["Mtxx"],"description":"\nThis interface is used to process requests generated for smile expressions in the cloud.\n\n<details>\n\t<summary>Example</summary>\n\n| Original Image | Result Image |\n|----------------|--------------------|\n| ![Original Image](https://assets.itsrose.net/public-resource/girl-in-red-dress.jpg \"Original Image\") | ![Expression generation 0](https://assets.itsrose.net/public-resource/girl-in-red-dress_expression_generation_0.jpg \"Smile mode 0\") |\n| **Original** | **Smile Mode 0** |\n\n</details>\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"smile_mode":{"type":"integer","minimum":0,"maximum":5,"description":"Smile mode:\n\n- 0: Laughing\n- 1: Smile\n- 2: Pursed lips smile\n- 3: Cool\n- 4: Classic smile with dimples\n- 5: Dimples secondary effect"},"mtxx_mz_kl_flag":{"description":"Lips cooler interface flag (0: Default, 1: Enabled)","type":"integer","minimum":0,"maximum":1},"wb_flag":{"description":"White balance post-processing flag (0: Disabled, 1: Enabled)","type":"integer","minimum":0,"maximum":1}},"required":["smile_mode"]},{"$ref":"#/components/schemas/MTXxRequest"}],"title":"Expression Generation Request Schema"}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"$ref":"#/components/schemas/MTXxResponse"},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/mtxx/get_task":{"get":{"summary":"Get task","tags":["Mtxx"],"description":"Query sync task","parameters":[{"schema":{"type":"string","description":"Task id."},"in":"query","name":"task_id","required":true,"description":"Task id."}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"$ref":"#/components/schemas/MTXxResponse"},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/mtxx/image_restoration":{"post":{"summary":"Image Restoration","tags":["Mtxx"],"description":"Image Quality Restoration.","requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"ir_mode":{"description":"Effect mode","type":"string","enum":["wink-ultra-hd","xiuxiu-ultra-hd"]},"save_photo_format":{"description":"Output image format","type":"string","enum":["jpg","png"]},"use_denoise":{"description":"Background repair flag.","type":"boolean"},"use_hd_face_opt":{"description":"Portrait Repair Upgrade flag.","type":"boolean"}}},{"$ref":"#/components/schemas/MTXxRequest"}],"title":"Image Restoration Request Schema"}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"$ref":"#/components/schemas/MTXxResponse"},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/mtxx/outpainting":{"post":{"summary":"Outpainting","tags":["Mtxx"],"description":"\nExtends an image beyond its original canvas using AI outpainting.\n\n<details>\n\t<summary>Example</summary>\n\n| Original Image | Result Image |\n|----------------|--------------------|\n| ![Original Image](https://assets.itsrose.net/public-resource/girl-in-red-dress.jpg \"Original Image\") | ![Result Image](https://assets.itsrose.net/public-resource/girl-in-red-dress_outpainting_0_1.jpg \"Expand 120% of original\") |\n| **Original** | **120% of original** |\n\n</details>\n","requestBody":{"required":true,"content":{"application/json":{"schema":{"anyOf":[{"allOf":[{"type":"object","properties":{"expand_ratio":{"type":"number","minimum":0,"maximum":1,"multipleOf":0.1,"description":"Accepts a value between `0.0` and `1.0` in increments of `0.1`.\n\nThe final canvas size is calculated as: `original_size × (1 + ratio × 2)`.\n\n| Value | Width & Height Scale |\n|-------|----------------------|\n| `0.1` | 120% of original     |\n| `0.3` | 160% of original     |\n| `0.5` | 200% of original     |\n| `1.0` | 300% of original     |"}},"required":["expand_ratio"]},{"$ref":"#/components/schemas/MTXxOutpaintingBaseRequest"}],"title":"Uniform Expand Ratio","description":"Expands the image canvas uniformly on all sides using a single ratio value."},{"allOf":[{"type":"object","properties":{"free_expand_ratio":{"type":"object","properties":{"left":{"type":"number","minimum":0,"maximum":1,"multipleOf":0.1,"description":"Expansion ratio for the left side. Range: `0.0` – `1.0`."},"right":{"type":"number","minimum":0,"maximum":1,"multipleOf":0.1,"description":"Expansion ratio for the right side. Range: `0.0` – `1.0`."},"top":{"type":"number","minimum":0,"maximum":1,"multipleOf":0.1,"description":"Expansion ratio for the top side. Range: `0.0` – `1.0`."},"bottom":{"type":"number","minimum":0,"maximum":1,"multipleOf":0.1,"description":"Expansion ratio for the bottom side. Range: `0.0` – `1.0`."}},"required":["left","right","top","bottom"],"title":"Per-Side Expansion Ratios","description":"Defines independent expansion ratios for each side of the image. \n- `left` and `right` are proportional to the original width. \n- `top` and `bottom` are proportional to the original height."}},"required":["free_expand_ratio"]},{"$ref":"#/components/schemas/MTXxOutpaintingBaseRequest"}],"title":"Free Expand Ratio","description":"Expands the image canvas independently on each side using per-side ratio values. Use this when the subject is off-center or asymmetric padding is required."},{"allOf":[{"type":"object","properties":{"free_expand_pixel":{"type":"object","properties":{"left":{"type":"integer","minimum":0,"maximum":2048,"description":"Pixels to add to the left side. Range: `0` – `2048`."},"right":{"type":"integer","minimum":0,"maximum":2048,"description":"Pixels to add to the right side. Range: `0` – `2048`."},"top":{"type":"integer","minimum":0,"maximum":2048,"description":"Pixels to add to the top side. Range: `0` – `2048`."},"bottom":{"type":"integer","minimum":0,"maximum":2048,"description":"Pixels to add to the bottom side. Range: `0` – `2048`."}},"required":["left","right","top","bottom"],"title":"Per-Side Expansion Pixels","description":"Defines the exact number of pixels to add to each side of the image canvas. Provides pixel-level precision for layouts where exact output dimensions are required."}},"required":["free_expand_pixel"]},{"$ref":"#/components/schemas/MTXxOutpaintingBaseRequest"}],"title":"Free Expand Pixel","description":"Expands the image canvas by an absolute pixel count on each side. Use this when you need precise control over the output image dimensions."}],"title":"Outpainting Request"}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"$ref":"#/components/schemas/MTXxResponse"},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/mtxx/remove_bg":{"post":{"summary":"Remove BG","tags":["Mtxx"],"description":"Remove background from an image.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MTXxRequest"}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"$ref":"#/components/schemas/MTXxResponse"},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/mtxx/versatile_hairstyle":{"post":{"summary":"Versatile Hairstyle","tags":["Mtxx"],"description":"\nVersatile Hairstyle is a hairstyle that can be adapted to different occasions and styles.\n\n<details>\n\t<summary>Example</summary>\n\n| Original Image | Result Image |\n|----------------|--------------------|\n| ![Original Image](https://assets.itsrose.net/public-resource/girl-in-red-dress.jpg) | ![Versatile Hairstyle](https://assets.itsrose.net/public-resource/girl-in-red-dress_hair_type_0.jpg) |\n| **Original** | **Hair type 0** |\n\n</details>\n\n<details>\n\t<summary>Hair types</summary>\n<table style=\"border-collapse:collapse;width:100%;table-layout:fixed;\">\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>0</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>1</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>2</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>3</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>4</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_16-32-50.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 0\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_16-33-15.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 1\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_16-33-35.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 2\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_16-34-1.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 3\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_16-30-40.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 4\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>5</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>6</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>7</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>8</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>9</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_16-27-44.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 5\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_16-34-50.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 6\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_16-28-28.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 7\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_16-30-9.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 8\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_16-29-26.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 9\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>10</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>11</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>12</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>13</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>14</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_17-3-9.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 10\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_16-31-20.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 11\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_16-31-55.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 12\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_17-6-0.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 13\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_17-5-41.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 14\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>15</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>17</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>5-2</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>5-3</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>5-7</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-4_17-11-7.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 15\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-1_16-32-25.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 17\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-17_14-6-0.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 5-2\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-17_14-6-21.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 5-3\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-17_14-6-46.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 5-7\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>5-19</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>5-21</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>13-3</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>13-4</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>13-5</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-17_14-7-7.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 5-19\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-17_14-7-27.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 5-21\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-17_14-8-23.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 13-3\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-17_14-8-44.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 13-4\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-17_14-9-0.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 13-5\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>6-1</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>7-4</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>7-5</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>8-1</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>8-19</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_13-56-39.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 6-1\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_13-57-5.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 7-4\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_13-57-52.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 7-5\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_13-58-47.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 8-1\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_13-59-9.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 8-19\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>8-21</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>9-3</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>9-4</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>9-6</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>9-7</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_13-59-46.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 8-21\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-0-13.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 9-3\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-0-36.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 9-4\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-0-59.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 9-6\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-1-25.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 9-7\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>9-11</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>9-12</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>9-13</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>9-17</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>9-22</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-1-50.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 9-11\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-2-13.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 9-12\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-2-41.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 9-13\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-3-17.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 9-17\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-3-39.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 9-22\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>9-25</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>15-17</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>15-18</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>20-11</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>20-12</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-4-2.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 9-25\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-4-24.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 15-17\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-4-48.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 15-18\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-5-12.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 20-11\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-5-33.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 20-12\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>20-13</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>mail_0</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>mail_1</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>mail_2</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>mail_3</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-19_14-5-56.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 20-13\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-4_17-12-19.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type mail_0\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-4_17-13-12.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type mail_1\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-4_17-14-12.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type mail_2\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-4_17-15-34.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type mail_3\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>mail_4</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>mail_5</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>mail_6</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>1_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>2_II</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-4_17-15-49.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type mail_4\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-4_17-16-54.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type mail_5\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/image2022-8-4_17-17-55.png\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type mail_6\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/1_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 1_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/2_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 2_II\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>5_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>6_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>7_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>10_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>11_II</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/5_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 5_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/6_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 6_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/7_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 7_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/10_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 10_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/11_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 11_II\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>13_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>15_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>17_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>0_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>3_II</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/13_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 13_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/15_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 15_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/17_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 17_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/0_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 0_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/3_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 3_II\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>4_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>8_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>9_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>12_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>14_II</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/4_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 4_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/8_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 8_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/9_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 9_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/12_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 12_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/14_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 14_II\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>21_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>22_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>23_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>24_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>25_II</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/21_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 21_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/22_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 22_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/23_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 23_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/24_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 24_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/25_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 25_II\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>26_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>27_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>28_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>29_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>30_II</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/26_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 26_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/27_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 27_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/28_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 28_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/29_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 29_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/30_II_tb.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type 30_II\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>mail_0_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>mail_1_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>mail_2_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>mail_3_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>mail_4_II</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/mail_0_II_b1.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type mail_0_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/mail_1_II_b1.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type mail_1_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/mail_2_II_b1.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type mail_2_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/mail_3_II_b1.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type mail_3_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/mail_4_II_b1.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type mail_4_II\" />\n    </td>\n  </tr>\n  <tr>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>mail_5_II</code></th>\n    <th style=\"text-align:center;padding:4px 2px;font-size:max(12px, 1vw);word-break:break-word;\"><code>mail_6_II</code></th>\n  </tr>\n  <tr>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/mail_5_II_b1.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type mail_5_II\" />\n    </td>\n    <td style=\"text-align:center;padding:4px;\">\n      <img src=\"https://obs-large.mtlab.meitu.com/public/resources/mail_6_II_b1.jpg\" style=\"width:100%;max-width:120px;height:auto;display:block;margin:0 auto;\" alt=\"hair_type mail_6_II\" />\n    </td>\n  </tr>\n</table>\n</details>","requestBody":{"required":true,"content":{"application/json":{"schema":{"allOf":[{"type":"object","properties":{"hair_type":{"type":"string","description":"Specifies the target hairstyle to apply. See Example rendered visual for more detail."}},"required":["hair_type"]},{"$ref":"#/components/schemas/MTXxRequest"}],"title":"Versatile Hairstyle Request"}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"$ref":"#/components/schemas/MTXxResponse"},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/remini/create_task":{"post":{"summary":"Create Task","tags":["Remini"],"description":"Create remini image enhance task","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"init_image":{"$ref":"#/components/schemas/SharedImageSchema"},"pipelines":{"minItems":1,"maxItems":5,"type":"array","items":{"type":"object","properties":{"auto_balance":{"type":"object","properties":{"auto_contrast":{"type":"object","properties":{"contrast_intensity_coefficient":{"type":"number","minimum":0,"maximum":10,"description":"Coefficient controlling contrast intensity for automatic contrast adjustment."}},"required":["contrast_intensity_coefficient"]}},"required":["auto_contrast"],"example":{"auto_contrast":{"contrast_intensity_coefficient":1.5}}},"background_enhance":{"type":"object","properties":{"model":{"type":"string","enum":["shiba-strong-tensorrt","rhino-tensorrt","upsampler-bicubic"],"description":"Identifier of the model used for background enhancement or upsampling."},"remove_color_shift":{"type":"boolean","description":"When true, removes color shifts as part of background enhancement."}},"required":["model","remove_color_shift"],"example":{"model":"shiba-strong-tensorrt","remove_color_shift":true}},"bokeh":{"type":"object","properties":{"aperture_radius":{"type":"number","minimum":0,"maximum":1,"description":"A normalized aperture radius for the bokeh effect. Value must be between 0 and 1."},"apply_front_bokeh":{"type":"boolean","description":"Flag indicating whether the bokeh effect should be applied to foreground elements."},"group_picture":{"type":"boolean","description":"Flag indicating if the image contains multiple subjects (group photo), which may alter face-related processing."},"highlights":{"type":"number","minimum":0,"maximum":1,"description":"Normalized intensity of highlights in the bokeh effect (0 to 1)."},"rescale_kernel_for_small_images":{"type":"boolean","description":"When true, rescales the blur kernel for small images to preserve bokeh quality."},"vivid":{"type":"number","minimum":0,"maximum":1,"description":"Normalized vividness parameter for the bokeh effect (0 to 1)."}},"required":["aperture_radius","apply_front_bokeh","group_picture","highlights","rescale_kernel_for_small_images","vivid"],"example":{"aperture_radius":0.3,"apply_front_bokeh":false,"group_picture":true,"highlights":0.25,"rescale_kernel_for_small_images":true,"vivid":0.75}},"color_enhance":{"type":"object","properties":{"model":{"type":"string","enum":["prism-blend","orange-teal","orange-teal_v2","silky","muted","lit_soft_warm","prism-expert-a","prism-expert-c"],"description":"Identifier of the color enhancement model to apply."}},"required":["model"],"example":{"model":"muted"}},"dodge_burn":{"type":"object","properties":{"model":{"type":"string","enum":["dodge_burn_residuals_big"],"description":"Identifier for the dodge-and-burn residuals model."},"intensity":{"type":"number","minimum":0,"maximum":1,"description":"Intensity of the dodge-and-burn effect, normalized from 0.0 to 1.0."}},"required":["model","intensity"],"example":{"intensity":0.5,"model":"dodge_burn_residuals_big"}},"face_enhance":{"type":"object","properties":{"model":{"type":"string","enum":["remini","recommender_entire_dataset"],"description":"Identifier of the face enhancement model to apply."},"pre_blur":{"type":"number","minimum":0,"maximum":1,"description":"Amount of pre-blur applied prior to face enhancement, normalized between 0 and 1."}},"required":["model","pre_blur"],"example":{"model":"remini","pre_blur":0.6}},"face_lifting":{"type":"object","properties":{"model":{"type":"string","enum":["movie-style","marzipan-style","pinko_bigger_dataset-style"],"description":"Identifier of the face lifting model to be applied."}},"required":["model"],"example":{"model":"movie-style"}}}},"description":"Ordered list of image processing pipelines to execute (min 1, max 5).\n\n> [!warning] Unsuppoer mix of feature will cause an error"}},"required":["init_image","pipelines"]}}}},"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"type":"object","properties":{"media_list":{"type":"array","items":{"type":"string","format":"uri"},"description":"The media access url."}},"required":["media_list"],"additionalProperties":false},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}},"/v1/tiktok/get_content":{"get":{"summary":"Get Tiktok Content","tags":["Tiktok","Downloader"],"description":"Get tiktok content details","parameters":[{"schema":{"type":"string","format":"uri","description":"TikTok url. Can be copied from share option on the App."},"in":"query","name":"url","required":true,"description":"TikTok url. Can be copied from share option on the App."}],"responses":{"200":{"description":"Default Response","content":{"application/json":{"schema":{"type":"object","properties":{"ok":{"type":"boolean","enum":[true],"title":"Success indicator","description":"Indicates that the response represents a successful operation."},"code":{"type":"number","title":"Response code","description":"The numeric code representing the success status."},"message":{"type":"string","title":"Response message","description":"A human-readable message providing additional information."},"data":{"type":"object","properties":{"aweme_id":{"type":"string"},"id":{"type":"string"},"region":{"type":"string"},"author":{"type":"object","properties":{"id":{"type":"string"},"unique_id":{"type":"string"},"nickname":{"type":"string"},"avatar":{"type":"string"}},"required":["id","unique_id","nickname","avatar"],"additionalProperties":false},"title":{"type":"string"},"media_list":{"type":"object","properties":{"cover":{"type":"object","properties":{"thumbnail":{"type":"string","format":"uri"},"ai_dynamic_cover":{"type":"string","format":"uri"},"origin_cover":{"type":"string","format":"uri"}},"required":["thumbnail","ai_dynamic_cover","origin_cover"],"additionalProperties":false},"watermark":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"size":{"type":"number"}},"required":["url","size"],"additionalProperties":false},"no_watermak":{"type":"object","properties":{"url":{"type":"string","format":"uri"},"size":{"type":"number"}},"required":["url","size"],"additionalProperties":false},"music":{"type":"object","properties":{"id":{"type":"string"},"title":{"type":"string"},"url":{"type":"string"},"cover":{"type":"string"},"author":{"type":"string"},"is_original":{"type":"boolean"},"duration":{"type":"number"}},"required":["id","title","url","cover","author","is_original","duration"],"additionalProperties":false},"images":{"default":null,"nullable":true,"type":"array","items":{"type":"string","format":"uri"}}},"required":["cover","watermark","no_watermak","music","images"],"additionalProperties":false},"statistic":{"type":"object","properties":{"play_count":{"type":"number"},"digg_count":{"type":"number"},"comment_count":{"type":"number"},"share_count":{"type":"number"},"download_count":{"type":"number"},"collect_count":{"type":"number"}},"required":["play_count","digg_count","comment_count","share_count","download_count","collect_count"],"additionalProperties":false}},"required":["aweme_id","id","region","author","title","media_list","statistic"],"additionalProperties":false},"errors":{"type":"string","nullable":true,"enum":[null],"title":"No errors on success responses","description":"The errors field is always null for success responses."},"meta":{"default":{},"title":"Metadata","description":"Additional metadata related to the response. **Do not** rely on this field for any critical information, as it may be omitted or changed without notice.","type":"object","additionalProperties":{}}},"required":["ok","code","message","data","errors","meta"],"additionalProperties":false}}}},"4XX":{"description":"Client Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}},"5XX":{"description":"Server Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FailureSchema"}}}}}}}}}