Uses of Class
com.alibaba.dashscope.resources.jobs.Job
Packages that use Job
Package
Description
-
Uses of Job in com.alibaba.dashscope.resources.audio
Methods in com.alibaba.dashscope.resources.audio that return JobModifier and TypeMethodDescriptionAsrService.transcribe(AsrTranscribeParams params) Blocks until a terminal state; equivalent to jobs().create + jobs().wait.AsrService.transcribe(AsrTranscribeParams params, RequestOptions options) Blocks until a terminal state; equivalent to jobs().create + jobs().wait.Methods in com.alibaba.dashscope.resources.audio that return types with arguments of type JobModifier and TypeMethodDescriptionAsrAsyncService.transcribe(AsrTranscribeParams params) AsrAsyncService.transcribe(AsrTranscribeParams params, RequestOptions options) -
Uses of Job in com.alibaba.dashscope.resources.embeddings
Methods in com.alibaba.dashscope.resources.embeddings that return JobModifier and TypeMethodDescriptionEmbeddingJobsService.cancel(String taskId, RequestOptions options) Cancel a PENDING task (POST /tasks/{task_id}/cancel).EmbeddingJobsService.create(BatchEmbeddingCreateParams params) EmbeddingJobsService.create(BatchEmbeddingCreateParams params, RequestOptions options) EmbeddingJobsService.fetch(String taskId, RequestOptions options) EmbeddingJobsService.wait(String taskId, RequestOptions options) Methods in com.alibaba.dashscope.resources.embeddings that return types with arguments of type JobModifier and TypeMethodDescriptionEmbeddingJobsAsyncService.cancel(String taskId, RequestOptions options) EmbeddingJobsAsyncService.create(BatchEmbeddingCreateParams params) EmbeddingJobsAsyncService.create(BatchEmbeddingCreateParams params, RequestOptions options) EmbeddingJobsAsyncService.fetch(String taskId, RequestOptions options) EmbeddingJobsAsyncService.list(Map<String, String> query, RequestOptions options) EmbeddingJobsService.list(Map<String, String> query, RequestOptions options) List async tasks (GET /tasks); query keys follow the wire names.EmbeddingJobsAsyncService.wait(String taskId, RequestOptions options) -
Uses of Job in com.alibaba.dashscope.resources.images
Methods in com.alibaba.dashscope.resources.images that return JobModifier and TypeMethodDescriptionImageJobsService.cancel(String taskId, RequestOptions options) ImageJobsService.create(ImageGenerateParams params) ImageJobsService.create(ImageGenerateParams params, RequestOptions options) ImageJobsService.fetch(String taskId, RequestOptions options) ImagesService.generate(ImageGenerateParams params) Blocks until a terminal state; equivalent to jobs().create + jobs().wait (multimodal-protocol models answer in one synchronous request).ImagesService.generate(ImageGenerateParams params, RequestOptions options) Blocks until a terminal state; equivalent to jobs().create + jobs().wait (multimodal-protocol models answer in one synchronous request).ImageJobsService.wait(String taskId, RequestOptions options) Methods in com.alibaba.dashscope.resources.images that return types with arguments of type JobModifier and TypeMethodDescriptionImageJobsAsyncService.cancel(String taskId, RequestOptions options) ImageJobsAsyncService.create(ImageGenerateParams params) ImageJobsAsyncService.create(ImageGenerateParams params, RequestOptions options) ImageJobsAsyncService.fetch(String taskId, RequestOptions options) ImagesAsyncService.generate(ImageGenerateParams params) ImagesAsyncService.generate(ImageGenerateParams params, RequestOptions options) ImageJobsAsyncService.list(Map<String, String> query, RequestOptions options) ImageJobsService.list(Map<String, String> query, RequestOptions options) ImageJobsAsyncService.wait(String taskId, RequestOptions options) -
Uses of Job in com.alibaba.dashscope.resources.jobs
Methods in com.alibaba.dashscope.resources.jobs that return JobModifier and TypeMethodDescriptionJobsService.cancel(String taskId, RequestOptions options) JobsService.create(String servicePath, com.fasterxml.jackson.databind.JsonNode body, RequestOptions options) Submit an async job: POSTservicePathwith the async header.JobsService.create(String servicePath, com.fasterxml.jackson.databind.JsonNode body, Map<String, String> extraHeaders, RequestOptions options) Submit an async job carrying extra request headers (e.g. the OSS resolve opt-in).JobsService.fetch(String taskId, RequestOptions options) static JobJob.fromBody(com.fasterxml.jackson.databind.JsonNode body) Build from the task envelope body{request_id, output:{task_id,task_status,...}}.JobsService.wait(String taskId, RequestOptions options) Blocks until a terminal state; equivalent to repeatedlyjobs().fetchwith a 1s→8s backoff (default budget 24h).JobsService.wait(String taskId, Duration waitTimeout, RequestOptions options) Methods in com.alibaba.dashscope.resources.jobs that return types with arguments of type JobModifier and TypeMethodDescriptionJobsAsyncService.cancel(String taskId, RequestOptions options) JobsAsyncService.create(String servicePath, com.fasterxml.jackson.databind.JsonNode body, RequestOptions options) JobsAsyncService.create(String servicePath, com.fasterxml.jackson.databind.JsonNode body, Map<String, String> extraHeaders, RequestOptions options) JobsAsyncService.fetch(String taskId, RequestOptions options) JobsAsyncService.list(Map<String, String> query, RequestOptions options) JobsService.list(Map<String, String> query, RequestOptions options) List jobs; query keys follow the wire names (page_no/page_size/model_name/status/...).JobsAsyncService.wait(String taskId, RequestOptions options) JobsAsyncService.wait(String taskId, Duration waitTimeout, RequestOptions options) -
Uses of Job in com.alibaba.dashscope.resources.tingwu
Methods in com.alibaba.dashscope.resources.tingwu that return JobModifier and TypeMethodDescriptionTingWuJobsService.cancel(String taskId, RequestOptions options) Cancel a PENDING task (POST /tasks/{task_id}/cancel).TingWuJobsService.create(TingWuJobParams params) TingWuJobsService.create(TingWuJobParams params, RequestOptions options) TingWuJobsService.fetch(String taskId, RequestOptions options) TingWuJobsService.wait(String taskId, RequestOptions options) Methods in com.alibaba.dashscope.resources.tingwu that return types with arguments of type JobModifier and TypeMethodDescriptionTingWuJobsAsyncService.cancel(String taskId, RequestOptions options) TingWuJobsAsyncService.create(TingWuJobParams params) TingWuJobsAsyncService.create(TingWuJobParams params, RequestOptions options) TingWuJobsAsyncService.fetch(String taskId, RequestOptions options) TingWuJobsAsyncService.list(Map<String, String> query, RequestOptions options) TingWuJobsService.list(Map<String, String> query, RequestOptions options) List async tasks (GET /tasks); query keys follow the wire names.TingWuJobsAsyncService.wait(String taskId, RequestOptions options) -
Uses of Job in com.alibaba.dashscope.resources.videos
Methods in com.alibaba.dashscope.resources.videos that return JobModifier and TypeMethodDescriptionVideoJobsService.cancel(String taskId, RequestOptions options) VideoJobsService.create(VideoGenerateParams params) VideoJobsService.create(VideoGenerateParams params, RequestOptions options) VideoJobsService.fetch(String taskId, RequestOptions options) VideosService.generate(VideoGenerateParams params) Blocks until a terminal state; equivalent to jobs().create + jobs().wait.VideosService.generate(VideoGenerateParams params, RequestOptions options) Blocks until a terminal state; equivalent to jobs().create + jobs().wait.VideoJobsService.wait(String taskId, RequestOptions options) Methods in com.alibaba.dashscope.resources.videos that return types with arguments of type JobModifier and TypeMethodDescriptionVideoJobsAsyncService.cancel(String taskId, RequestOptions options) VideoJobsAsyncService.create(VideoGenerateParams params) VideoJobsAsyncService.create(VideoGenerateParams params, RequestOptions options) VideoJobsAsyncService.fetch(String taskId, RequestOptions options) VideosAsyncService.generate(VideoGenerateParams params) VideosAsyncService.generate(VideoGenerateParams params, RequestOptions options) VideoJobsAsyncService.list(Map<String, String> query, RequestOptions options) VideoJobsService.list(Map<String, String> query, RequestOptions options) VideoJobsAsyncService.wait(String taskId, RequestOptions options)