def METHOD_NAME(self):
    model_id = 'damo/multi-modal_efficient-diffusion-tuning-swift-prompt'
    model_revision = 'v1.0.2'
    inputs = {
        'prompt':
        'a street scene with a cafe and a restaurant sign in anime style'
    }
    sd_tuner_pipeline = pipeline(
        self.task, model_id, model_revision=model_revision)
    result = sd_tuner_pipeline(inputs, generator_seed=0)
    output_image_path = tempfile.NamedTemporaryFile(suffix='.png').name
    cv2.imwrite(output_image_path, result['output_imgs'][0])
    print(
        f'Efficient-diffusion-tuning-swift-prompt output: {output_image_path}'
    )