<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_details(self, obj):
 """ returns uri of API image resource """

        args = {
            'slug': obj.node.slug,
            'pk': obj.pk
        }
        return reverse('api_node_image_detail',
                       kwargs=args,
                       request=self.context.get('request', None))