/// /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { getTranslateRecords } = ai; * * getTranslateRecords({ * success: (result) => { * console.log('getTranslateRecords success', result); * }, * fail: (error) => { * console.log('getTranslateRecords fail', error.errorMsg); * }, * }); * ``` */ export declare const getTranslateRecords: typeof ty.ai.getTranslateRecords; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { getTranslateRecord } = ai; * * getTranslateRecord({ * translateId: 0, * success: (result) => { * console.log('getTranslateRecord success', result); * }, * fail: (error) => { * console.log('getTranslateRecord fail', error.errorMsg); * }, * }); * ``` */ export declare const getTranslateRecord: typeof ty.ai.getTranslateRecord; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { updateTranslateRecord } = ai; * * updateTranslateRecord({ * translateId: 0, * success: () => { * console.log('updateTranslateRecord success'); * }, * fail: (error) => { * console.log('updateTranslateRecord fail', error.errorMsg); * }, * }); * ``` */ export declare const updateTranslateRecord: typeof ty.ai.updateTranslateRecord; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { removeTranslateRecord } = ai; * * removeTranslateRecord({ * translateId: 0, * success: () => { * console.log('removeTranslateRecord success'); * }, * fail: (error) => { * console.log('removeTranslateRecord fail', error.errorMsg); * }, * }); * ``` */ export declare const removeTranslateRecord: typeof ty.ai.removeTranslateRecord; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { getTranslateRealTimeResult } = ai; * * getTranslateRealTimeResult({ * translateId: 'example', * success: (result) => { * console.log('getTranslateRealTimeResult success', result); * }, * fail: (error) => { * console.log('getTranslateRealTimeResult fail', error.errorMsg); * }, * }); * ``` */ export declare const getTranslateRealTimeResult: typeof ty.ai.getTranslateRealTimeResult; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { processTranslateSummary } = ai; * * processTranslateSummary({ * translateId: 0, * template: 'example', * language: 'example', * success: () => { * console.log('processTranslateSummary success'); * }, * fail: (error) => { * console.log('processTranslateSummary fail', error.errorMsg); * }, * }); * ``` */ export declare const processTranslateSummary: typeof ty.ai.processTranslateSummary; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { getTranslateSummary } = ai; * * getTranslateSummary({ * translateId: 0, * success: (result) => { * console.log('getTranslateSummary success', result); * }, * fail: (error) => { * console.log('getTranslateSummary fail', error.errorMsg); * }, * }); * ``` */ export declare const getTranslateSummary: typeof ty.ai.getTranslateSummary; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { getTranslateSummaryProcessStatus } = ai; * * getTranslateSummaryProcessStatus({ * deviceId: 'device_001', * translateIds: ['example'], * success: (result) => { * console.log('getTranslateSummaryProcessStatus success', result); * }, * fail: (error) => { * console.log('getTranslateSummaryProcessStatus fail', error.errorMsg); * }, * }); * ``` */ export declare const getTranslateSummaryProcessStatus: typeof ty.ai.getTranslateSummaryProcessStatus; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { backgroundMusicList } = ai; * * backgroundMusicList({ * success: (result) => { * console.log('backgroundMusicList success', result); * }, * fail: (error) => { * console.log('backgroundMusicList fail', error.errorMsg); * }, * }); * ``` */ export declare const backgroundMusicList: typeof ty.ai.backgroundMusicList; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { backgroundMusicDownload } = ai; * * backgroundMusicDownload({ * musicUrl: 'example', * musicPath: 'example', * success: (result) => { * console.log('backgroundMusicDownload success', result); * }, * fail: (error) => { * console.log('backgroundMusicDownload fail', error.errorMsg); * }, * }); * ``` */ export declare const backgroundMusicDownload: typeof ty.ai.backgroundMusicDownload; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { objectDetectCreate } = ai; * * objectDetectCreate({ * success: () => { * console.log('objectDetectCreate success'); * }, * fail: (error) => { * console.log('objectDetectCreate fail', error.errorMsg); * }, * }); * ``` */ export declare const objectDetectCreate: typeof ty.ai.objectDetectCreate; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { objectDetectDestroy } = ai; * * objectDetectDestroy({ * success: () => { * console.log('objectDetectDestroy success'); * }, * fail: (error) => { * console.log('objectDetectDestroy fail', error.errorMsg); * }, * }); * ``` */ export declare const objectDetectDestroy: typeof ty.ai.objectDetectDestroy; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { objectDetectForImage } = ai; * * objectDetectForImage({ * inputPath: 'example', * outputPath: 'example', * success: (result) => { * console.log('objectDetectForImage success', result); * }, * fail: (error) => { * console.log('objectDetectForImage fail', error.errorMsg); * }, * }); * ``` */ export declare const objectDetectForImage: typeof ty.ai.objectDetectForImage; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { objectDetectForImageCancel } = ai; * * objectDetectForImageCancel({ * success: () => { * console.log('objectDetectForImageCancel success'); * }, * fail: (error) => { * console.log('objectDetectForImageCancel fail', error.errorMsg); * }, * }); * ``` */ export declare const objectDetectForImageCancel: typeof ty.ai.objectDetectForImageCancel; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { objectDetectForVideo } = ai; * * objectDetectForVideo({ * inputVideoPath: 'example', * outputVideoPath: 'example', * musicPath: 'example', * success: (result) => { * console.log('objectDetectForVideo success', result); * }, * fail: (error) => { * console.log('objectDetectForVideo fail', error.errorMsg); * }, * }); * ``` */ export declare const objectDetectForVideo: typeof ty.ai.objectDetectForVideo; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { objectDetectForVideoCancel } = ai; * * objectDetectForVideoCancel({ * success: () => { * console.log('objectDetectForVideoCancel success'); * }, * fail: (error) => { * console.log('objectDetectForVideoCancel fail', error.errorMsg); * }, * }); * ``` */ export declare const objectDetectForVideoCancel: typeof ty.ai.objectDetectForVideoCancel; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { onVideoObjectDetectProgress } = ai; * * onVideoObjectDetectProgress((result) => { * console.log('onVideoObjectDetectProgress', result); * }); * ``` */ export declare const onVideoObjectDetectProgress: typeof ty.ai.onVideoObjectDetectProgress; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { offVideoObjectDetectProgress } = ai; * * offVideoObjectDetectProgress((result) => { * console.log('offVideoObjectDetectProgress', result); * }); * ``` */ export declare const offVideoObjectDetectProgress: typeof ty.ai.offVideoObjectDetectProgress; /** * @public * @since @ray-js/ray 1.6.29 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { generateTranslateTask } = ai; * * generateTranslateTask({ * deviceId: 'device_001', * dataTimeout: 0, * originalLanguage: 'example', * targetLanguage: 'example', * agentId: 'example', * success: () => { * console.log('generateTranslateTask success'); * }, * fail: (error) => { * console.log('generateTranslateTask fail', error.errorMsg); * }, * }); * ``` */ export declare const generateTranslateTask: typeof ty.ai.generateTranslateTask; /** * @public * @since @ray-js/ray 1.7.9 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { privacyProtectDetectForVideo } = ai; * * privacyProtectDetectForVideo({ * inputVideoPath: 'example', * outputVideoPath: 'example', * musicPath: 'example', * success: (result) => { * console.log('privacyProtectDetectForVideo success', result); * }, * fail: (error) => { * console.log('privacyProtectDetectForVideo fail', error.errorMsg); * }, * }); * ``` */ export declare const privacyProtectDetectForVideo: typeof ty.ai.privacyProtectDetectForVideo; /** * @public * @since @ray-js/ray 1.7.20 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { petsPictureQualityDetectForImage } = ai; * * petsPictureQualityDetectForImage({ * inputImagePath: 'example', * objectAreaPercent: 0, * objectFaceRotationAngle: 0, * objectFaceSideAngle: 0, * maximumPictureBrightness: 0, * minimumPictureBrightness: 0, * success: (result) => { * console.log('petsPictureQualityDetectForImage success', result); * }, * fail: (error) => { * console.log('petsPictureQualityDetectForImage fail', error.errorMsg); * }, * }); * ``` */ export declare const petsPictureQualityDetectForImage: typeof ty.ai.petsPictureQualityDetectForImage; /** * @public * @since @ray-js/ray 1.7.20 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { petsDetectCreate } = ai; * * petsDetectCreate({ * success: () => { * console.log('petsDetectCreate success'); * }, * fail: (error) => { * console.log('petsDetectCreate fail', error.errorMsg); * }, * }); * ``` */ export declare const petsDetectCreate: typeof ty.ai.petsDetectCreate; /** * @public * @since @ray-js/ray 1.7.20 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { petsDetectDestory } = ai; * * petsDetectDestory({ * success: () => { * console.log('petsDetectDestory success'); * }, * fail: (error) => { * console.log('petsDetectDestory fail', error.errorMsg); * }, * }); * ``` */ export declare const petsDetectDestory: typeof ty.ai.petsDetectDestory; /** * @public * @since @ray-js/ray 1.7.27 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { createForegroundVideoService } = ai; * * createForegroundVideoService({ * success: () => { * console.log('createForegroundVideoService success'); * }, * fail: (error) => { * console.log('createForegroundVideoService fail', error.errorMsg); * }, * }); * ``` */ export declare const createForegroundVideoService: typeof ty.ai.createForegroundVideoService; /** * @public * @since @ray-js/ray 1.7.27 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { destroyForegroundVideoService } = ai; * * destroyForegroundVideoService({ * success: () => { * console.log('destroyForegroundVideoService success'); * }, * fail: (error) => { * console.log('destroyForegroundVideoService fail', error.errorMsg); * }, * }); * ``` */ export declare const destroyForegroundVideoService: typeof ty.ai.destroyForegroundVideoService; /** * @public * @since @ray-js/ray 1.7.27 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { processForegroundMediaByTemplate } = ai; * * processForegroundMediaByTemplate({ * templateObject: { type: 'example', effect: { code: 'example', name: 'example', ouputDuration: 0, outputDuration: 0, image: 'example', resource: 'example' } }, * mediaSource: 'example', * success: (result) => { * console.log('processForegroundMediaByTemplate success', result); * }, * fail: (error) => { * console.log('processForegroundMediaByTemplate fail', error.errorMsg); * }, * }); * ``` */ export declare const processForegroundMediaByTemplate: typeof ty.ai.processForegroundMediaByTemplate; /** * @public * @since @ray-js/ray 1.7.27 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { processPetForegroundMediaByTemplate } = ai; * * processPetForegroundMediaByTemplate({ * templateObject: { type: 'example', effect: { code: 'example', name: 'example', ouputDuration: 0, outputDuration: 0, image: 'example', resource: 'example' } }, * mediaSource: 'example', * success: (result) => { * console.log('processPetForegroundMediaByTemplate success', result); * }, * fail: (error) => { * console.log('processPetForegroundMediaByTemplate fail', error.errorMsg); * }, * }); * ``` */ export declare const processPetForegroundMediaByTemplate: typeof ty.ai.processPetForegroundMediaByTemplate; /** * @public * @since @ray-js/ray 1.7.37 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { imageEnhanceCreate } = ai; * * imageEnhanceCreate({ * trace_id: 'example', * device_id: 'device_001', * scene_type: 'example', * success: () => { * console.log('imageEnhanceCreate success'); * }, * fail: (error) => { * console.log('imageEnhanceCreate fail', error.errorMsg); * }, * }); * ``` */ export declare const imageEnhanceCreate: typeof ty.ai.imageEnhanceCreate; /** * @public * @since @ray-js/ray 1.7.37 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { imageEnhanceDestroy } = ai; * * imageEnhanceDestroy({ * trace_id: 'example', * device_id: 'device_001', * scene_type: 'example', * success: () => { * console.log('imageEnhanceDestroy success'); * }, * fail: (error) => { * console.log('imageEnhanceDestroy fail', error.errorMsg); * }, * }); * ``` */ export declare const imageEnhanceDestroy: typeof ty.ai.imageEnhanceDestroy; /** * @public * @since @ray-js/ray 1.7.37 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { enhanceClarityForImage } = ai; * * enhanceClarityForImage({ * trace_id: 'example', * device_id: 'device_001', * scene_type: 'example', * devId: 'device_001', * inputImagePath: 'example', * outputImagePath: 'example', * success: (result) => { * console.log('enhanceClarityForImage success', result); * }, * fail: (error) => { * console.log('enhanceClarityForImage fail', error.errorMsg); * }, * }); * ``` */ export declare const enhanceClarityForImage: typeof ty.ai.enhanceClarityForImage; /** * @public * @since @ray-js/ray 1.7.37 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { enhanceClarityCancel } = ai; * * enhanceClarityCancel({ * trace_id: 'example', * device_id: 'device_001', * scene_type: 'example', * success: () => { * console.log('enhanceClarityCancel success'); * }, * fail: (error) => { * console.log('enhanceClarityCancel fail', error.errorMsg); * }, * }); * ``` */ export declare const enhanceClarityCancel: typeof ty.ai.enhanceClarityCancel; /** * @public * @since @ray-js/ray 1.7.37 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { onEnhanceClarityProgress } = ai; * * onEnhanceClarityProgress((result) => { * console.log('onEnhanceClarityProgress', result); * }); * ``` */ export declare const onEnhanceClarityProgress: typeof ty.ai.onEnhanceClarityProgress; /** * @public * @since @ray-js/ray 1.7.37 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { offEnhanceClarityProgress } = ai; * * offEnhanceClarityProgress((result) => { * console.log('offEnhanceClarityProgress', result); * }); * ``` */ export declare const offEnhanceClarityProgress: typeof ty.ai.offEnhanceClarityProgress; /** * @public * @since @ray-js/ray 1.7.37 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { enhanceCalibrationForImage } = ai; * * enhanceCalibrationForImage({ * trace_id: 'example', * device_id: 'device_001', * scene_type: 'example', * inputImagePath: 'example', * outputImagePath: 'example', * ratio: 0, * fCx: 0, * fCy: 0, * fFx: 0, * fFy: 0, * fK1: 0, * fK2: 0, * fK3: 0, * fP1: 0, * fP2: 0, * success: (result) => { * console.log('enhanceCalibrationForImage success', result); * }, * fail: (error) => { * console.log('enhanceCalibrationForImage fail', error.errorMsg); * }, * }); * ``` */ export declare const enhanceCalibrationForImage: typeof ty.ai.enhanceCalibrationForImage; /** * @public * @since @ray-js/ray 1.7.37 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { enhanceCalibrationCancel } = ai; * * enhanceCalibrationCancel({ * success: () => { * console.log('enhanceCalibrationCancel success'); * }, * fail: (error) => { * console.log('enhanceCalibrationCancel fail', error.errorMsg); * }, * }); * ``` */ export declare const enhanceCalibrationCancel: typeof ty.ai.enhanceCalibrationCancel; /** * @public * @since @ray-js/ray 1.7.43 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { oralDiseaseInit } = ai; * * oralDiseaseInit({ * success: () => { * console.log('oralDiseaseInit success'); * }, * fail: (error) => { * console.log('oralDiseaseInit fail', error.errorMsg); * }, * }); * ``` */ export declare const oralDiseaseInit: typeof ty.ai.oralDiseaseInit; /** * @public * @since @ray-js/ray 1.7.43 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { onOralModelDownProgress } = ai; * * onOralModelDownProgress((result) => { * console.log('onOralModelDownProgress', result); * }); * ``` */ export declare const onOralModelDownProgress: typeof ty.ai.onOralModelDownProgress; /** * @public * @since @ray-js/ray 1.7.43 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { offOralModelDownProgress } = ai; * * offOralModelDownProgress((result) => { * console.log('offOralModelDownProgress', result); * }); * ``` */ export declare const offOralModelDownProgress: typeof ty.ai.offOralModelDownProgress; /** * @public * @since @ray-js/ray 1.7.43 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { oralDiseasePredictionRun } = ai; * * oralDiseasePredictionRun({ * devId: 'device_001', * inputImagePath: 'example', * outImagePath: 'example', * success: (result) => { * console.log('oralDiseasePredictionRun success', result); * }, * fail: (error) => { * console.log('oralDiseasePredictionRun fail', error.errorMsg); * }, * }); * ``` */ export declare const oralDiseasePredictionRun: typeof ty.ai.oralDiseasePredictionRun; /** * @public * @since @ray-js/ray 1.7.60 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { pixelImageInit } = ai; * * pixelImageInit({ * success: () => { * console.log('pixelImageInit success'); * }, * fail: (error) => { * console.log('pixelImageInit fail', error.errorMsg); * }, * }); * ``` */ export declare const pixelImageInit: typeof ty.ai.pixelImageInit; /** * @public * @since @ray-js/ray 1.7.60 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { fetchPixelImageCategoryInfo } = ai; * * fetchPixelImageCategoryInfo({ * success: (result) => { * console.log('fetchPixelImageCategoryInfo success', result); * }, * fail: (error) => { * console.log('fetchPixelImageCategoryInfo fail', error.errorMsg); * }, * }); * ``` */ export declare const fetchPixelImageCategoryInfo: typeof ty.ai.fetchPixelImageCategoryInfo; /** * @public * @since @ray-js/ray 1.7.60 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { generationPixelImage } = ai; * * generationPixelImage({ * deviceId: 'device_001', * label: 'example', * imageWidth: 0, * imageHeight: 0, * outImagePath: 'example', * success: (result) => { * console.log('generationPixelImage success', result); * }, * fail: (error) => { * console.log('generationPixelImage fail', error.errorMsg); * }, * }); * ``` */ export declare const generationPixelImage: typeof ty.ai.generationPixelImage; /** * @public * @since @ray-js/ray 1.7.60 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { generationPixeGifImage } = ai; * * generationPixeGifImage({ * deviceId: 'device_001', * imageWidth: 0, * imageHeight: 0, * imagePath: 'example', * animType: 'example', * outImagePath: 'example', * success: (result) => { * console.log('generationPixeGifImage success', result); * }, * fail: (error) => { * console.log('generationPixeGifImage fail', error.errorMsg); * }, * }); * ``` */ export declare const generationPixeGifImage: typeof ty.ai.generationPixeGifImage; /** * @public * @since @ray-js/ray 1.7.60 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { predictLightScenes } = ai; * * predictLightScenes({ * roomId: 0, * generateSceneStyles: [{ name: 'example' }], * sceneType: 0, * success: (result) => { * console.log('predictLightScenes success', result); * }, * fail: (error) => { * console.log('predictLightScenes fail', error.errorMsg); * }, * }); * ``` */ export declare const predictLightScenes: typeof ty.ai.predictLightScenes; /** * @public * @since @ray-js/ray 1.7.60 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { onPixelImageInitProgressEvent } = ai; * * onPixelImageInitProgressEvent((result) => { * console.log('onPixelImageInitProgressEvent', result); * }); * ``` */ export declare const onPixelImageInitProgressEvent: typeof ty.ai.onPixelImageInitProgressEvent; /** * @public * @since @ray-js/ray 1.7.60 * @example 基础调用 * ```tsx * import { ai } from '@ray-js/ray'; * * const { offPixelImageInitProgressEvent } = ai; * * offPixelImageInitProgressEvent((result) => { * console.log('offPixelImageInitProgressEvent', result); * }); * ``` */ export declare const offPixelImageInitProgressEvent: typeof ty.ai.offPixelImageInitProgressEvent;